diff options
Diffstat (limited to 'drivers/hid/hidraw.c')
-rw-r--r-- | drivers/hid/hidraw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hidraw.c b/drivers/hid/hidraw.c index 1018f380de35..c40f0403edaf 100644 --- a/drivers/hid/hidraw.c +++ b/drivers/hid/hidraw.c | |||
@@ -212,6 +212,8 @@ static int hidraw_release(struct inode * inode, struct file * file) | |||
212 | kfree(list->hidraw); | 212 | kfree(list->hidraw); |
213 | } | 213 | } |
214 | 214 | ||
215 | kfree(list); | ||
216 | |||
215 | return 0; | 217 | return 0; |
216 | } | 218 | } |
217 | 219 | ||