summaryrefslogtreecommitdiff
path: root/v4l/scripts/do_commit.sh
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-04-14 15:50:33 -0700
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-14 15:50:33 -0700
commit138c81cd1bac037cd7a973fa84e915e0c3ecc59a (patch)
treefefd3ca7f14ff2f571a165ae054edd40eee07ff5 /v4l/scripts/do_commit.sh
parent635283a5dcc470c8dc22d6cabaf1eac4e3e08bf4 (diff)
downloadmediapointer-dvb-s2-138c81cd1bac037cd7a973fa84e915e0c3ecc59a.tar.gz
mediapointer-dvb-s2-138c81cd1bac037cd7a973fa84e915e0c3ecc59a.tar.bz2
drivers/media/video/saa5249.c: fix use-after-free and leak
From: Dan Carpenter <error27@gmail.com> 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 different error path. 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>
Diffstat (limited to 'v4l/scripts/do_commit.sh')
0 files changed, 0 insertions, 0 deletions