V4L/DVB (13025): s2250-board: Fix memory leaks
authorPete Eberlein <pete@sensoray.com>
Sat, 19 Sep 2009 01:05:19 +0000 (22:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 03:54:04 +0000 (00:54 -0300)
commitd66ddf21723146a69915a0cf46db77f409e74602
treea57fc6f0b81f268b1a50b4d7292c702506e5aba2
parentbb871652d9523d5be811c0c36b04c05c4ac37f92
V4L/DVB (13025): s2250-board: Fix memory leaks

In some error cases, allocated buffers need to be freed before returning.

Signed-off-by: Pete Eberlein <pete@sensoray.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/go7007/s2250-board.c