[vlc-commits] Do run exit handlers, fix a few leaks

Rémi Denis-Courmont git at videolan.org
Sun Jan 30 13:21:01 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jan 30 14:17:21 2011 +0200| [2bc307db6fd3c052ba87c7ce45f4f1ffb93ee990] | committer: Rémi Denis-Courmont

Do run exit handlers, fix a few leaks

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2bc307db6fd3c052ba87c7ce45f4f1ffb93ee990
---

 bin/vlc.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/bin/vlc.c b/bin/vlc.c
index c24cda9..1bc6a27 100644
--- a/bin/vlc.c
+++ b/bin/vlc.c
@@ -247,8 +247,5 @@ out:
     for (int i = 1; i < argc; i++)
         LocaleFree (argv[i]);
 
-    /* Do not run exit handlers. Some of them are buggy (e.g. KDE IO scheduler)
-     * and crash. Also some will crash because their library may be already
-     * unloaded (dlclose()). */
-    _exit (0);
+    return 0;
 }



More information about the vlc-commits mailing list