diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2010-01-03 20:08:09 -0200 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2010-01-03 20:08:09 -0200 |
commit | 71c946914e692c1d2eda6f0dcdfdc1839789110b (patch) | |
tree | 079be72e50061f879a72fd062535d0db7b0387b7 /hardinfo2/devices.c | |
parent | 631f3ba3ffadaddd79cbbfc8c49b92aca58c2138 (diff) |
Add hi_module_deinit() functions to more modules.
Diffstat (limited to 'hardinfo2/devices.c')
-rw-r--r-- | hardinfo2/devices.c | 8 |
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[] = { |