summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pciusb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pciusb.c b/pciusb.c
index dc49c94..9874f4c 100644
--- a/pciusb.c
+++ b/pciusb.c
@@ -117,6 +117,7 @@ extern int pciusb_find_modules(struct pciusb_entries *entries, const char *fpciu
q = strchr(p, '\t');
}
e->module = strcmp(p, "unknown") ? strndup(p,q-p-1) : NULL;
+ ifree(e->text); /* usb.c set it so that we display something when usbtable doesn't refer that hw*/
e->text = strndup(q+2, strlen(q)-4);
}
}