summaryrefslogtreecommitdiffstats
path: root/hid.c
diff options
context:
space:
mode:
Diffstat (limited to 'hid.c')
-rw-r--r--hid.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hid.c b/hid.c
index be8d3c0..5671a66 100644
--- a/hid.c
+++ b/hid.c
@@ -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();
}