aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
Diffstat (limited to 'epan')
-rw-r--r--epan/epan.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/epan.c b/epan/epan.c
index e83864121d..f24a341fd9 100644
--- a/epan/epan.c
+++ b/epan/epan.c
@@ -146,6 +146,12 @@ epan_cleanup(void)
#endif
except_deinit();
addr_resolv_cleanup();
+
+ if (pinfo_pool_cache != NULL) {
+ wmem_destroy_allocator(pinfo_pool_cache);
+ pinfo_pool_cache = NULL;
+ }
+
wmem_cleanup();
}