Commit 940ff812 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Do run exit handlers, fix a few leaks

(cherry picked from commit 2bc307db6fd3c052ba87c7ce45f4f1ffb93ee990)
parent 3101bb7a
...@@ -206,8 +206,5 @@ int main( int i_argc, const char *ppsz_argv[] ) ...@@ -206,8 +206,5 @@ int main( int i_argc, const char *ppsz_argv[] )
for (int i = 1; i < argc; i++) for (int i = 1; i < argc; i++)
LocaleFree (argv[i]); LocaleFree (argv[i]);
/* Do not run exit handlers. Some of them are buggy (e.g. KDE IO scheduler) return 0;
* and crash. Also some will crash because their library may be already
* unloaded (dlclose()). */
_exit (0);
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment