OSDN Git Service

[media] drivers/media/video: fix memory leak of snd_cx18_init()
authorAndre Bartke <andre.bartke@googlemail.com>
Fri, 3 Jun 2011 18:06:58 +0000 (15:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:52:59 +0000 (17:52 -0300)
commit2c87d9db46d1dcc956facaf98805d4d68b823b23
treeacaa54665255d7b4f77f22b4971757db78c67069
parent7ce338d9dfc432b71db15184ad3ec458c9961164
[media] drivers/media/video: fix memory leak of snd_cx18_init()

cxsc is not freed in the error case.

Signed-off-by: Andre Bartke <andre.bartke@gmail.com>
Cc: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-alsa-main.c