summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hidraw.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2008-07-23 15:26:10 +0200
committerJiri Kosina <jkosina@suse.cz>2008-07-23 15:26:10 +0200
commitb22d8370061898f3029cdc2601fbdec493443f03 (patch)
treedae4b3859c5cf3ad0e2430ad7c11a1e8766f9b49 /drivers/hid/hidraw.c
parent00b33277fa544676250d898fccea0a0255608e7f (diff)
parent6a250778c79d6d14db9ed8e1f86f7b934e2bf3dc (diff)
downloadop-kernel-dev-b22d8370061898f3029cdc2601fbdec493443f03.zip
op-kernel-dev-b22d8370061898f3029cdc2601fbdec493443f03.tar.gz
Merge branches 'upstream' and 'upstream-fixes' into for-linus
Diffstat (limited to 'drivers/hid/hidraw.c')
-rw-r--r--drivers/hid/hidraw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hidraw.c b/drivers/hid/hidraw.c
index 1018f38..c40f040 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)
kfree(list->hidraw);
}
+ kfree(list);
+
return 0;
}
OpenPOWER on IntegriCloud