diff options
Diffstat (limited to 'drivers/hid/usbhid/hiddev.c')
-rw-r--r-- | drivers/hid/usbhid/hiddev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/usbhid/hiddev.c b/drivers/hid/usbhid/hiddev.c index 4940e4d70c2..00ea1ed282a 100644 --- a/drivers/hid/usbhid/hiddev.c +++ b/drivers/hid/usbhid/hiddev.c | |||
@@ -306,7 +306,7 @@ static int hiddev_open(struct inode *inode, struct file *file) | |||
306 | return 0; | 306 | return 0; |
307 | bail: | 307 | bail: |
308 | file->private_data = NULL; | 308 | file->private_data = NULL; |
309 | kfree(list->hiddev); | 309 | kfree(list); |
310 | return res; | 310 | return res; |
311 | } | 311 | } |
312 | 312 | ||