aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2010-08-15 17:33:44 -0300
committerLeandro Pereira <leandro@hardinfo.org>2010-08-15 18:01:02 -0300
commit9fe6a457e1d9d01f6645d91805691afd429d0a2c (patch)
treec5827b9923c3070fdad30bc4331bba828e6df704
parenta8c677991b1fe6102b768a84d060a2c099994713 (diff)
Fix crash on module unload
-rw-r--r--modules/devices.c1
-rw-r--r--modules/network.c1
2 files changed, 0 insertions, 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);