aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/arch/linux/common/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/arch/linux/common/usb.h')
-rw-r--r--hardinfo2/arch/linux/common/usb.h5
1 files changed, 0 insertions, 5 deletions
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;