diff options
| author | Axel Lin <axel.lin@gmail.com> | 2010-11-12 08:43:17 +0300 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-11-12 09:02:18 +0300 |
| commit | 6ff92a6db2083ecd1a8e2742d9397159fd880987 (patch) | |
| tree | f750917c819deb45b739cb74f9037122f8ce67ed /include/linux/stringify.h | |
| parent | 49cc69b6789b57d2d8ed78843c4219525b433b58 (diff) | |
| download | linux-6ff92a6db2083ecd1a8e2742d9397159fd880987.tar.xz | |
Input: xpad - fix a memory leak
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>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
