V4L/DVB (13964): tuner-core, fix memory leak
authorJiri Slaby <jslaby@suse.cz>
Wed, 6 Jan 2010 16:45:28 +0000 (13:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:34 +0000 (15:10 -0300)
commita570fb6eec804e99c7fd3ac1db192842e9269bbb
tree013f02c3c8f769e769048029c77c3d6fd4fe4392
parentb46d37e61f886e901ba0b504125b135f450a19b5
V4L/DVB (13964): tuner-core, fix memory leak

Stanse found a memory leak in tuner_probe. It is not freed/assigned
on all paths. Fix that.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tuner-core.c