[Bug 547895] New: luvcview-20070512-3.54: two memory leaks
http://bugzilla.novell.com/show_bug.cgi?id=547895 Summary: luvcview-20070512-3.54: two memory leaks Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just had a look at factory package luvcview-20070512-3.54 source code file luvcview-20070512/v4l2uvc.c 1. function enum_controls I notice the following code getinput=(struct v4l2_input *) calloc(1, sizeof(struct v4l2_input)); but I fail to notice any matching call to free. This looks like a memory leak to me. Suggest add call to free near the end of the block. 2. function init_v4l2 I notice the following code setfps=(struct v4l2_streamparm *) calloc(1, sizeof(struct v4l2_streamparm)); but I fail to notice any matching call to free. This looks like a memory leak to me. Suggest add call to free near the end of the block. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=547895 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |bphilips@novell.com |ovo.novell.com | Summary|luvcview-20070512-3.54: two |JJ: luvcview-20070512-3.54: |memory leaks |two memory leaks -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=547895 User rguenther@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=547895#c1 --- Comment #1 from Richard Guenther <rguenther@novell.com> 2009-10-17 08:56:35 MDT --- David, in case the issues are not introduced by a patch local to openSUSE please report the issues upstream. Packagers, please do not add openSUSE-local patches to fix this kind of errors but forward the bugs upstream and close the bugs as RESOLVED UPSTREAM. Note that it is perfectly fine to have "resource leaks" at the end of a program as the kernel will clean up for you. Manually freeing them only increases binary size and runtime. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=547895 http://bugzilla.novell.com/show_bug.cgi?id=547895#c2 Kevin Polulak <kpolulak@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kpolulak@gmail.com --- Comment #2 from Kevin Polulak <kpolulak@gmail.com> 2010-05-14 03:35:07 UTC --- Fix submitted on 2010-05-03 at 23:33 Request ID: 40009 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=547895 https://bugzilla.novell.com/show_bug.cgi?id=547895#c4 zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED CC| |zjjia@novell.com Resolution| |UPSTREAM --- Comment #4 from zj jia <zjjia@novell.com> 2011-05-26 09:05:56 UTC --- As comment 1 says, I close it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com