aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/devices.c')
-rw-r--r--hardinfo2/devices.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/hardinfo2/devices.c b/hardinfo2/devices.c
index 4b29f80f..0607ba39 100644
--- a/hardinfo2/devices.c
+++ b/hardinfo2/devices.c
@@ -453,6 +453,14 @@ void hi_module_init(void)
__init_cups();
}
+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);
+}
+
ModuleAbout *hi_module_get_about(void)
{
static ModuleAbout ma[] = {