V4L/DVB (9297): cx18: Fix memory leak on card initialization failure
authorAndy Walls <awalls@radix.net>
Sat, 18 Oct 2008 11:51:28 +0000 (08:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 Oct 2008 16:20:39 +0000 (14:20 -0200)
On error exit, the cx18_probe() function did not use the proper entry in
cx18_cards[] with kfree() when card init failed; leaking memory.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found