summaryrefslogtreecommitdiffstats
path: root/epan/epan.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-26 17:44:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-26 17:44:18 +0000
commit1da76b3706a6c9bd41bf8f219d7c97de5e1e5c7f (patch)
tree9930fb4bb87cd6037f60efff9656f967121c8c2d /epan/epan.c
parentAdding debian version 4.2.2-1.1. (diff)
downloadwireshark-1da76b3706a6c9bd41bf8f219d7c97de5e1e5c7f.tar.xz
wireshark-1da76b3706a6c9bd41bf8f219d7c97de5e1e5c7f.zip
Merging upstream version 4.2.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/epan.c')
-rw-r--r--epan/epan.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/epan.c b/epan/epan.c
index f665983..43d1f08 100644
--- a/epan/epan.c
+++ b/epan/epan.c
@@ -444,17 +444,17 @@ epan_cleanup(void)
except_deinit();
addr_resolv_cleanup();
-#ifdef HAVE_PLUGINS
- plugins_cleanup(libwireshark_plugins);
- libwireshark_plugins = NULL;
-#endif
-
if (pinfo_pool_cache != NULL) {
wmem_destroy_allocator(pinfo_pool_cache);
pinfo_pool_cache = NULL;
}
wmem_cleanup_scopes();
+
+#ifdef HAVE_PLUGINS
+ plugins_cleanup(libwireshark_plugins);
+ libwireshark_plugins = NULL;
+#endif
}
struct epan_session {