summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
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;