commit | 6ff92a6db2083ecd1a8e2742d9397159fd880987 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Thu Nov 11 21:43:17 2010 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Thu Nov 11 22:02:18 2010 -0800 |
tree | f750917c819deb45b739cb74f9037122f8ce67ed | |
parent | 49cc69b6789b57d2d8ed78843c4219525b433b58 [diff] |
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>