From cdc40b11f4d7a3050bda164b2d92afc23616b7f9 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Thu, 5 Jul 2007 19:21:21 +0000 Subject: Cleanups. Plug most of the memleaks. --- hardinfo2/arch/linux/common/filesystem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hardinfo2/arch/linux/common/filesystem.h') 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); -- cgit v1.2.3