diff options
author | Dan Carpenter <error27@gmail.com> | 2009-04-14 19:50:33 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-29 15:41:11 -0300 |
commit | 5b83cfa98569663b6fa6cda85a1f2fd371a082c7 (patch) | |
tree | 1c790cd58393250fc18b68287082abc061998eef /drivers/media/video/saa5246a.c | |
parent | 3964b58a25fdca066011600bf58b38d00e9ae28d (diff) | |
download | lwn-5b83cfa98569663b6fa6cda85a1f2fd371a082c7.tar.gz lwn-5b83cfa98569663b6fa6cda85a1f2fd371a082c7.zip |
V4L/DVB (11515): drivers/media/video/saa5249.c: fix use-after-free and leak
I moved the kfree() down a couple lines. t->vdev is going to be in freed
memory so there is no point setting it to NULL. I added a kfree(t) on a
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa5246a.c')
0 files changed, 0 insertions, 0 deletions