[vlc-commits] Do run exit handlers, fix a few leaks
Rémi Denis-Courmont
git at videolan.org
Sun Jan 30 13:22:14 CET 2011
vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jan 30 14:17:21 2011 +0200| [940ff812bf8667d07eb464940d1095ed0b4e15ea] | committer: Rémi Denis-Courmont
Do run exit handlers, fix a few leaks
(cherry picked from commit 2bc307db6fd3c052ba87c7ce45f4f1ffb93ee990)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=940ff812bf8667d07eb464940d1095ed0b4e15ea
---
bin/vlc.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/bin/vlc.c b/bin/vlc.c
index 701a5e9..104d6ab 100644
--- a/bin/vlc.c
+++ b/bin/vlc.c
@@ -206,8 +206,5 @@ int main( int i_argc, const char *ppsz_argv[] )
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