From 4adbda3bfc21c32f8447eae3a70b545791bb958f Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Thu, 11 Feb 2010 21:38:39 +0100 Subject: fixed part of memory leaks --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.c') 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; -- cgit v1.2.3