[Bugme-new] [Bug 10659] New: [drivers/media/video/vivi.c:337]: Memory leak: tmpbuf
bugme-daemon at bugzilla.kernel.org
bugme-daemon at bugzilla.kernel.org
Sat May 10 01:31:02 PDT 2008
http://bugzilla.kernel.org/show_bug.cgi?id=10659
Summary: [drivers/media/video/vivi.c:337]: Memory leak: tmpbuf
Product: Drivers
Version: 2.5
KernelVersion: latest git tree
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(Other)
AssignedTo: drivers_video-other at kernel-bugs.osdl.org
ReportedBy: danielm77 at spray.se
The tmpbuf is not deallocated (if vbuf is NULL):
char *tmpbuf = kmalloc(wmax * 2, GFP_ATOMIC);
void *vbuf = videobuf_to_vmalloc(&buf->vb);
if (!tmpbuf)
return;
if (!vbuf)
return;
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Bugme-new
mailing list