summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mergecap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mergecap.c b/mergecap.c
index 41339a4e61..50362186d0 100644
--- a/mergecap.c
+++ b/mergecap.c
@@ -485,6 +485,10 @@ main(int argc, char *argv[])
clean_exit:
wtap_cleanup();
+ free_progdirs();
+#ifdef HAVE_PLUGINS
+ plugins_cleanup();
+#endif
return (status == MERGE_OK) ? 0 : 2;
}