From: Axel Lin Date: Mon, 28 Jun 2010 08:10:01 +0000 (-0700) Subject: Input: wistron_btns - fix a memory leak in wb_module_init error path X-Git-Tag: v2.6.36-rc1~581^2^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fcb8bb631831c9018a1f7f77b93f9f02e122fc5;p=pandora-kernel.git Input: wistron_btns - fix a memory leak in wb_module_init error path select_keymap() calls copy_keymap() to allocate a memory for keymap. This patch adds a missing kfree(keymap) in wb_module_init error path. Signed-off-by: Axel Lin Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed