V4L/DVB (11516): drivers/media/video/saa5246a.c: fix use-after-free
authorDan Carpenter <error27@gmail.com>
Tue, 14 Apr 2009 22:51:30 +0000 (19:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Apr 2009 18:41:12 +0000 (15:41 -0300)
commit9401608bb34be14960311dbb91d4a82ee07a03fa
treef5dc37faf89d24b659a659e057d7f8457a4178e6
parent5b83cfa98569663b6fa6cda85a1f2fd371a082c7
V4L/DVB (11516): drivers/media/video/saa5246a.c: fix use-after-free

I lowered the kfree(t) down a couple lines and removed the superflous
"t->vdev = NULL;"

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa5246a.c