diff options
author | Brandon Philips <bphilips@suse.de> | 2007-12-08 23:05:53 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-12-11 18:08:22 -0200 |
commit | 0b29669c065f60501e7289e1950fa2a618962358 (patch) | |
tree | d6352cce3e42354e2f142fc6ac21cfce9c8a5934 /drivers/media/video/saa5246a.h | |
parent | 843b1378c2ab47ab1ed9cb471938e0f0ec839fcd (diff) |
V4L/DVB (6751): V4L: Memory leak! Fix count in videobuf-vmalloc mmap
This is pretty serious bug. map->count is never initialized after the
call to kmalloc making the count start at some random trash value. The
end result is leaking videobufs.
Also, fix up the debug statements to print unsigned values.
Pushed to http://ifup.org/hg/v4l-dvb too
Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa5246a.h')
0 files changed, 0 insertions, 0 deletions