[media] radio-isa: fix memory leak
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 28 Apr 2012 11:09:48 +0000 (08:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 7 May 2012 18:23:31 +0000 (15:23 -0300)
commitf61861fa567928614c6dd01560b320bfeb24e3e2
tree7c2453a4d487cdb61292b4f65f9fc21003374e88
parentff27cda340450b4d5267a79109204e853f95cb4c
[media] radio-isa: fix memory leak

If there is an error when creating controls the v4l2_ctrl_handler_free
function must be called.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-isa.c