Call maxmind_db_pref_cleanup from prefs_cleanup.
Change-Id: I0c48e1015a38ab198beea168e12b646336ffe115
Reviewed-on: https://code.wireshark.org/review/26485
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
} mmdb_lookup_t;
/**
- * Init function called from epan.h
+ * Init / reset function called from prefs_reset
*/
WS_DLL_LOCAL void maxmind_db_pref_init(module_t *nameres);
/**
- * Cleanup function called from epan.h
+ * Cleanup function called from prefs_cleanup
*/
WS_DLL_LOCAL void maxmind_db_pref_cleanup(void);
/* Clean the uats */
uat_cleanup();
+ /* Shut down mmdbresolve */
+ maxmind_db_pref_cleanup();
+
g_free(prefs.saved_at_version);
g_free(gpf_path);
gpf_path = NULL;