Skip to content
Commit 5b83cfa9 authored by Dan Carpenter's avatar Dan Carpenter Committed by Mauro Carvalho Chehab
Browse files

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: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 3964b58a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment