diff options
-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 0c6b4d4e7e27..8ecd77525103 100644 --- a/drivers/hid/hidraw.c +++ b/drivers/hid/hidraw.c | |||
@@ -211,6 +211,8 @@ static int hidraw_release(struct inode * inode, struct file * file) | |||
211 | kfree(list->hidraw); | 211 | kfree(list->hidraw); |
212 | } | 212 | } |
213 | 213 | ||
214 | kfree(list); | ||
215 | |||
214 | return 0; | 216 | return 0; |
215 | } | 217 | } |
216 | 218 | ||