From: Jiri Slaby Date: Thu, 18 Oct 2007 10:06:28 +0000 (-0700) Subject: Char: rocket, remove potential leak in module_init X-Git-Tag: v2.6.24-rc1~341 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4384a3fae10c1badb859d2c98a6d2944b14609f6;p=pandora-kernel.git Char: rocket, remove potential leak in module_init if (controller && !request_region) then we leaked a tty driver struct, fix it by adding function deinit tail with goto-ing into it (and from other fail paths too) Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed