Fix the most egregious of the newly exposed leaks, about 28KB.

svn path=/trunk/; revision=51047
This commit is contained in:
Evan Huus 2013-07-31 01:55:20 +00:00
parent 999c603027
commit 615687f4c0
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ prefs_register_module_or_subtree(module_t *parent, const char *name,
return module;
}
module = g_new(module_t,1);
module = wmem_new(wmem_epan_scope(), module_t);
module->name = name;
module->title = title;
module->description = description;