summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--pciusb.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 70275c0..6b5c835 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- plug some memleaks
+
Version 0.11.3 - 21 November 2011, Thierry Vignaud
- make sure to behave properly on errors in libmodprobe (#3309)
diff --git a/pciusb.c b/pciusb.c
index 44ea39a..b011873 100644
--- a/pciusb.c
+++ b/pciusb.c
@@ -190,6 +190,7 @@ extern void pciusb_free(struct pciusb_entries *entries) {
struct pciusb_entry *e = &entries->entries[i];
ifree(e->module);
ifree(e->text);
+ ifree(e->class);
}
if (entries->nb) ifree(entries->entries);
}