summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-02-11 21:38:39 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-02-11 21:38:39 +0100
commit4adbda3bfc21c32f8447eae3a70b545791bb958f (patch)
tree05a4709563deed8a5919597366772ee02d4b644c /main.c
parent06698504cafb9d3b87674c51bbd49dbbb6a54db0 (diff)
fixed part of memory leaks
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index fab717ad..6b401185 100644
--- a/main.c
+++ b/main.c
@@ -640,9 +640,10 @@ main (int argc, char *argv[]) {
plug_unload_all ();
// at this point we can simply do exit(0), but let's clean up for debugging
+
+ plt_free (); // plt_free may access conf_*
conf_free ();
messagepump_free ();
- plt_free ();
plug_free_decoder_ids ();
pl_free ();
sigterm_handled = 1;