From: Jesper Juhl Date: Sun, 2 Jan 2011 19:14:03 +0000 (-0300) Subject: [media] frontends/ix2505v: Remember to free allocated memory in failure path X-Git-Tag: v2.6.38-rc2~1^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36fd97884daf4e30b556a6c59b58db19a06d58af;p=pandora-kernel.git [media] frontends/ix2505v: Remember to free allocated memory in failure path We may leak the storage allocated to 'state' in drivers/media/dvb/frontends/ix2505v.c::ix2505v_attach() on error, as it is too early to be able to call ix2505v_release(). This patch makes sure we free the allocated memory in the failure case. Signed-off-by: Jesper Juhl Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed