aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/addr_resolv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c
index 56da73bf69..efd8fe9e4b 100644
--- a/epan/addr_resolv.c
+++ b/epan/addr_resolv.c
@@ -754,10 +754,10 @@ enterprises_cleanup(void)
g_assert(g_enterprises_path);
g_free(g_enterprises_path);
g_enterprises_path = NULL;
- if (g_pservices_path) {
- g_free(g_pservices_path);
- g_pservices_path = NULL;
- }
+ g_free(g_penterprises_path);
+ g_penterprises_path = NULL;
+ g_free(g_pservices_path);
+ g_pservices_path = NULL;
}
/* Fill in an IP4 structure with info from subnets file or just with the