diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-01-03 21:13:15 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-01-03 21:13:15 +0000 |
commit | b2d570a78ba003c7ead6096f37f3348b503db634 (patch) | |
tree | 777630afb8df3141b74f3d1255989b9bff43ca92 /hardinfo2/arch/linux/common/storage.h | |
parent | 0196020beb33bff391c5810b07a8ce34ce709278 (diff) |
Plug memleaks.
Diffstat (limited to 'hardinfo2/arch/linux/common/storage.h')
-rw-r--r-- | hardinfo2/arch/linux/common/storage.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/hardinfo2/arch/linux/common/storage.h b/hardinfo2/arch/linux/common/storage.h index 8e248d3b..836ba7ea 100644 --- a/hardinfo2/arch/linux/common/storage.h +++ b/hardinfo2/arch/linux/common/storage.h @@ -22,8 +22,6 @@ static gboolean remove_scsi_devices(gpointer key, gpointer value, gpointer data) { if (!strncmp((gchar *) key, "SCSI", 4)) { - g_free((gchar *) key); - g_free((GtkTreeIter *) value); return TRUE; } return FALSE; @@ -150,15 +148,11 @@ static gboolean remove_ide_devices(gpointer key, gpointer value, gpointer data) { if (!strncmp((gchar *) key, "IDE", 3)) { - g_free((gchar *) key); - g_free((gchar *) value); - return TRUE; } return FALSE; } - void __scan_ide_devices(void) { |