commit | 5b83cfa98569663b6fa6cda85a1f2fd371a082c7 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Tue Apr 14 19:50:33 2009 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed Apr 29 15:41:11 2009 -0300 |
tree | 1c790cd58393250fc18b68287082abc061998eef | |
parent | 3964b58a25fdca066011600bf58b38d00e9ae28d [diff] |
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>