diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-07-05 19:21:21 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-07-05 19:21:21 +0000 |
commit | cdc40b11f4d7a3050bda164b2d92afc23616b7f9 (patch) | |
tree | 03cd201e20016a39a60e875e591b1d969d68f425 /hardinfo2/arch/linux/common/filesystem.h | |
parent | ed4d0b93832732a199f4fb07c70350401f2eaceb (diff) |
Cleanups. Plug most of the memleaks.
Diffstat (limited to 'hardinfo2/arch/linux/common/filesystem.h')
-rw-r--r-- | hardinfo2/arch/linux/common/filesystem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo2/arch/linux/common/filesystem.h b/hardinfo2/arch/linux/common/filesystem.h index b08bd39c..d8166fc3 100644 --- a/hardinfo2/arch/linux/common/filesystem.h +++ b/hardinfo2/arch/linux/common/filesystem.h @@ -81,7 +81,7 @@ scan_filesystems(void) stravail); g_hash_table_insert(moreinfo, g_strdup_printf("FS%d", ++count), strhash); - fs_list = g_strdup_printf("%s$FS%d$%s=%s total, %s free\n", + fs_list = h_strdup_cprintf("$FS%d$%s=%s total, %s free\n", fs_list, count, tmp[0], strsize, stravail); |