From b447372e7c120e2336fe0ac910792b04e1688af2 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Thu, 4 Jan 2007 14:41:24 +0000 Subject: Fix segfaults, cleanups. --- hardinfo2/arch/linux/common/usb.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'hardinfo2/arch/linux/common/usb.h') diff --git a/hardinfo2/arch/linux/common/usb.h b/hardinfo2/arch/linux/common/usb.h index 606bb0fb..d59f5f01 100644 --- a/hardinfo2/arch/linux/common/usb.h +++ b/hardinfo2/arch/linux/common/usb.h @@ -20,11 +20,6 @@ static gboolean remove_usb_devices(gpointer key, gpointer value, gpointer data) { if (!strncmp((gchar *) key, "USB", 3)) { - GtkTreeIter *iter = (GtkTreeIter *) data; - - g_free((gchar *) value); - g_free(iter); - return TRUE; } return FALSE; -- cgit v1.2.3