summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reordercap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/reordercap.c b/reordercap.c
index edf853f32e..e258693893 100644
--- a/reordercap.c
+++ b/reordercap.c
@@ -414,6 +414,10 @@ main(int argc, char *argv[])
clean_exit:
wtap_cleanup();
+ free_progdirs();
+#ifdef HAVE_PLUGINS
+ plugins_cleanup();
+#endif
return ret;
}