diff options
Diffstat (limited to 'hid.c')
-rw-r--r-- | hid.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -116,6 +116,8 @@ 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(); } |