diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-06-30 14:32:22 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-06-30 14:32:22 +0000 |
commit | 52b133d9d7fb007075f05b8289be517db6574fd3 (patch) | |
tree | 606b15cae99fd3d4c0ccedac664408716c973113 /hardinfo2/arch/linux/common/modules.h | |
parent | be25921dd3ee581b7b312baf6127f7b628ce186e (diff) |
Plug memleaks. Cleanups.
Diffstat (limited to 'hardinfo2/arch/linux/common/modules.h')
-rw-r--r-- | hardinfo2/arch/linux/common/modules.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo2/arch/linux/common/modules.h b/hardinfo2/arch/linux/common/modules.h index 54e77ddb..bbde818a 100644 --- a/hardinfo2/arch/linux/common/modules.h +++ b/hardinfo2/arch/linux/common/modules.h @@ -99,7 +99,7 @@ scan_modules_do(void) /* append this module to the list of modules */ module_list = g_strdup_printf("%s$%s$%s=%s\n", - module_list ? module_list : "", + module_list ? (char*)idle_free(module_list) : "", hashkey, modname, description ? description : ""); |