aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/util.c
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2007-06-30 15:26:11 +0000
committerLeandro A. F. Pereira <leandro@hardinfo.org>2007-06-30 15:26:11 +0000
commitfe0debc88fd70af16cbcff8da3cbe431939264ff (patch)
tree4b9088723725ea4f867ce03142bfdad38a7dbcbb /hardinfo2/util.c
parent8552975a1df02e3d1518310f834b3787f3e5fb48 (diff)
Plug more memleaks.
Diffstat (limited to 'hardinfo2/util.c')
-rw-r--r--hardinfo2/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hardinfo2/util.c b/hardinfo2/util.c
index 27e3758d..55d2985d 100644
--- a/hardinfo2/util.c
+++ b/hardinfo2/util.c
@@ -600,7 +600,7 @@ static void module_entry_free(gpointer data, gpointer user_data)
ShellModuleEntry *entry = (ShellModuleEntry *)data;
if (entry) {
- /*g_free(entry->name);*/
+ g_free(entry->name);
g_object_unref(entry->icon);
g_free(entry);
@@ -611,7 +611,7 @@ static void module_free(ShellModule *module)
{
g_free(module->name);
g_object_unref(module->icon);
- /*g_module_close(module->dll);*/
+ g_module_close(module->dll);
DEBUG("module_free: module->entries, %p\n", module->entries);
g_slist_foreach(module->entries, (GFunc)module_entry_free, NULL);