diff options
author | Evan Huus <eapache@gmail.com> | 2013-07-31 01:49:57 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-07-31 01:49:57 +0000 |
commit | 999c60302729840f79056ba38dfaf928a76e0626 (patch) | |
tree | de5c58009692894eb74f46419a2f3a4a1c1c5fca /epan/prefs-int.h | |
parent | 8fafa9b758e4e42af0404e527a997d3380e43816 (diff) | |
download | wireshark-999c60302729840f79056ba38dfaf928a76e0626.tar.gz wireshark-999c60302729840f79056ba38dfaf928a76e0626.tar.bz2 wireshark-999c60302729840f79056ba38dfaf928a76e0626.zip |
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.h | 3 |
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 |