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:
49cc69b
)
Input: xpad - fix a memory leak
author
Axel Lin
<axel.lin@gmail.com>
Fri, 12 Nov 2010 05:43:17 +0000
(21:43 -0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Fri, 12 Nov 2010 06:02:18 +0000
(22:02 -0800)
In xpad_led_disconnect(), what we really want is to kfree(xpad_led).
In xpad_disconnect(), add a missing kfree(xpad->bdata) to fix the memory leak.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
No differences found