git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61c901c
)
HID: hidraw: fix list->buffer memleak
author
Matthieu CASTET
<matthieu.castet@parrot.com>
Thu, 28 Jun 2012 14:51:56 +0000
(16:51 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Fri, 20 Jul 2012 08:02:23 +0000
(10:02 +0200)
If we don't read fast enough hidraw device, hidraw_report_event
will cycle and we will leak list->buffer.
Also list->buffer are not free on release.
After this patch, kmemleak report nothing.
Signed-off-by: Matthieu CASTET <matthieu.castet@parrot.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
No differences found