diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-01-05 19:06:29 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-01-05 19:06:29 +0000 |
commit | fe1975bcae657f585b370ada3bfaf44e4d277c02 (patch) | |
tree | 72580874d50330e473815895ef1e326755392551 | |
parent | ccc2ce46b670860a4c618394fd61a57c71f97117 (diff) | |
download | ldetect-fe1975bcae657f585b370ada3bfaf44e4d277c02.tar ldetect-fe1975bcae657f585b370ada3bfaf44e4d277c02.tar.gz ldetect-fe1975bcae657f585b370ada3bfaf44e4d277c02.tar.bz2 ldetect-fe1975bcae657f585b370ada3bfaf44e4d277c02.tar.xz ldetect-fe1975bcae657f585b370ada3bfaf44e4d277c02.zip |
(pciusb_free) fix small memleak
(introduced in r44672 by tv on 2007-02-26
("(pci_probe) get PCI class as reported by pciutils...")
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | pciusb.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -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) @@ -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); } |