From: Andres Salomon Date: Thu, 17 Jan 2008 17:01:30 +0000 (-0500) Subject: Input: psmouse - fix potential memory leak in psmouse_connect() X-Git-Tag: v2.6.24~45^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=746b31a9d4e08240d267069bcf5084eb7e427ad7;p=pandora-kernel.git Input: psmouse - fix potential memory leak in psmouse_connect() If we successfully call input_register_device() in psmouse_connect() but sysfs_create_group() fails, we'll enter the error path without ever having called input_unregister_device() potentially leaking memory. Signed-off-by: Andres Salomon Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed