aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/computer.c
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2007-06-30 14:32:22 +0000
committerLeandro A. F. Pereira <leandro@hardinfo.org>2007-06-30 14:32:22 +0000
commit52b133d9d7fb007075f05b8289be517db6574fd3 (patch)
tree606b15cae99fd3d4c0ccedac664408716c973113 /hardinfo2/computer.c
parentbe25921dd3ee581b7b312baf6127f7b628ce186e (diff)
Plug memleaks. Cleanups.
Diffstat (limited to 'hardinfo2/computer.c')
-rw-r--r--hardinfo2/computer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo2/computer.c b/hardinfo2/computer.c
index cf20c6d6..8679ffb6 100644
--- a/hardinfo2/computer.c
+++ b/hardinfo2/computer.c
@@ -406,7 +406,7 @@ void
hi_module_init(void)
{
computer = g_new0(Computer, 1);
- moreinfo = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL);
+ moreinfo = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free);
}
ModuleAbout *