From 95b8a8cf48e3a8bfe2822968e024fbd5835cd2d5 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Wed, 1 Aug 2007 23:12:15 +0000 Subject: Fix crash (double free, as per RedHat bug#249974). --- hardinfo2/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hardinfo2') diff --git a/hardinfo2/shell.c b/hardinfo2/shell.c index fff24783..b4bcc853 100644 --- a/hardinfo2/shell.c +++ b/hardinfo2/shell.c @@ -1021,7 +1021,7 @@ module_selected_show_info(ShellModuleEntry * entry, gboolean reload) } update_tbl = g_hash_table_new_full(g_str_hash, g_str_equal, - g_free, g_free); + NULL, g_free); } if (update_sfusrc) { -- cgit v1.2.3