diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-01-19 07:45:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-01-19 07:45:27 +0000 |
commit | e64105199949fa185f6211a81e3a32d60178502a (patch) | |
tree | 0d25cbc62c32f06ba427645152703ee12f66902b | |
parent | ea07550f6f781b299b026c81bcb9904d911ab47f (diff) | |
download | ldetect-e64105199949fa185f6211a81e3a32d60178502a.tar ldetect-e64105199949fa185f6211a81e3a32d60178502a.tar.gz ldetect-e64105199949fa185f6211a81e3a32d60178502a.tar.bz2 ldetect-e64105199949fa185f6211a81e3a32d60178502a.tar.xz ldetect-e64105199949fa185f6211a81e3a32d60178502a.zip |
(parse_device) fix reading freed memory
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | hid.c | 1 |
2 files changed, 1 insertions, 1 deletions
@@ -1,4 +1,5 @@ - do not ignore /etc/modprobe.d/* +- fix reading freed memory Version 0.12.0 - 13 January 2012, Thierry Vignaud @@ -116,7 +116,6 @@ static void parse_device(struct hid_entries *entries, const char *dev) DEBUG("%s: module name is [%s]\n", HID_BUS_NAME, modname); if (modname != NULL) add_entry(entries, device_name, modname); - free(device_name); modalias_cleanup(); } |