From: Dan Carpenter Date: Fri, 12 Nov 2010 05:04:43 +0000 (+0300) Subject: Staging: quickstart: free after input_unregister_device() X-Git-Tag: v2.6.37-rc5~28^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebba26f4a8d0c137a2d365b6bded2a0d7fcd1d06;p=pandora-kernel.git Staging: quickstart: free after input_unregister_device() input_unregister_device() releases "quickstart_input" so the input_free_device() is a double free. Also I noticed that there is a memory leak if the call to input_register_device() fails. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed