From: Axel Lin Date: Fri, 12 Nov 2010 05:43:17 +0000 (-0800) Subject: Input: xpad - fix a memory leak X-Git-Tag: v2.6.38-rc1~463^2^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ff92a6db2083ecd1a8e2742d9397159fd880987;p=pandora-kernel.git 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 Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed