commit | 36fd97884daf4e30b556a6c59b58db19a06d58af | [log] [tgz] |
---|---|---|
author | Jesper Juhl <jj@chaosbits.net> | Sun Jan 02 16:14:03 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed Jan 19 11:45:44 2011 -0200 |
tree | 347fff9429e47ee8f8360fe26284e026c285405f | |
parent | a63d601803c2e3ba06ed51b9ed997fc6bf80e5bf [diff] |
[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 <jj@chaosbits.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>