diff options
author | Brandon Philips <bphilips@suse.de> | 2008-04-13 19:57:01 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 19:08:48 +0200 |
commit | 0561297501842b5d7e0ca8805084f4d3f97c1078 (patch) | |
tree | cd76584fec0e9307a18efac15069a3c11367a584 /drivers/media/video/videobuf-vmalloc.c | |
parent | V4L/DVB (7549): em28xx: some small cleanups (diff) | |
download | linux-0561297501842b5d7e0ca8805084f4d3f97c1078.tar.xz linux-0561297501842b5d7e0ca8805084f4d3f97c1078.zip |
V4L/DVB (7550): em28xx: Fix a possible memory leak
I did notice a possible memory leak since iolock is could possibly be
called before a buffer has been freed.
This ensure s_fmt isn't called while the queue is busy thereby avoiding
iolock on already allocated buffers.
Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/videobuf-vmalloc.c')
0 files changed, 0 insertions, 0 deletions