aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs-int.h
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-07-31 01:49:57 +0000
committerEvan Huus <eapache@gmail.com>2013-07-31 01:49:57 +0000
commit999c60302729840f79056ba38dfaf928a76e0626 (patch)
treede5c58009692894eb74f46419a2f3a4a1c1c5fca /epan/prefs-int.h
parent8fafa9b758e4e42af0404e527a997d3380e43816 (diff)
Convert preferences to wmem. Exposes some more memory leaks that didn't show up
before. svn path=/trunk/; revision=51046
Diffstat (limited to 'epan/prefs-int.h')
-rw-r--r--epan/prefs-int.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/prefs-int.h b/epan/prefs-int.h
index 64ccfe0257..7438bc3004 100644
--- a/epan/prefs-int.h
+++ b/epan/prefs-int.h
@@ -28,6 +28,7 @@
#include <stdio.h>
#include "ws_symbol_export.h"
+#include <epan/wmem/wmem.h>
/**
*@file
@@ -40,7 +41,7 @@ struct pref_module {
void (*apply_cb)(void); /**< routine to call when preferences applied */
GList *prefs; /**< list of its preferences */
struct pref_module *parent; /**< parent module */
- emem_tree_t *submodules; /**< list of its submodules */
+ wmem_tree_t *submodules; /**< list of its submodules */
int numprefs; /**< number of non-obsolete preferences */
gboolean prefs_changed; /**< if TRUE, a preference has changed since we last checked */
gboolean obsolete; /**< if TRUE, this is a module that used to