From 9fe6a457e1d9d01f6645d91805691afd429d0a2c Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sun, 15 Aug 2010 17:33:44 -0300 Subject: Fix crash on module unload --- modules/devices.c | 1 - modules/network.c | 1 - 2 files changed, 2 deletions(-) diff --git a/modules/devices.c b/modules/devices.c index d15ee95a..57f3aa23 100644 --- a/modules/devices.c +++ b/modules/devices.c @@ -430,7 +430,6 @@ void hi_module_init(void) void hi_module_deinit(void) { - h_hash_table_remove_all(moreinfo); g_hash_table_destroy(moreinfo); g_hash_table_destroy(memlabels); g_module_close(cups); diff --git a/modules/network.c b/modules/network.c index 168e04a9..f3864498 100644 --- a/modules/network.c +++ b/modules/network.c @@ -414,7 +414,6 @@ void hi_module_init(void) void hi_module_deinit(void) { - h_hash_table_remove_all(moreinfo); g_hash_table_destroy(moreinfo); g_free(smb_shares_list); -- cgit v1.2.3