summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 8df51535..0f257fd4 100644
--- a/main.c
+++ b/main.c
@@ -643,10 +643,10 @@ main (int argc, char *argv[]) {
// at this point we can simply do exit(0), but let's clean up for debugging
plt_free (); // plt_free may access conf_*
+ pl_free ();
conf_free ();
messagepump_free ();
- plug_free_decoder_ids ();
- pl_free ();
+ plug_cleanup ();
sigterm_handled = 1;
fprintf (stderr, "hej-hej!\n");
return 0;