[Bug 547326] New: kalsatools-1.5.0-597.2: memory leak
http://bugzilla.novell.com/show_bug.cgi?id=547326 Summary: kalsatools-1.5.0-597.2: memory leak Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 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 kalsatools-1.5.0-597.2 source code file kalsatools-1.5.0/qarecord-0.0.9/wavmix.c function mix32 I notice the following code fnw = (char *)malloc(strlen(fn[0]) + 11); but I fail to notice a matching call to free. This looks like a memory leak to me. Suggest add call to free near the end of the routine. -- 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=547326 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |mrueckert@novell.com |ovo.novell.com | Summary|kalsatools-1.5.0-597.2: |JJ: kalsatools-1.5.0-597.2: |memory leak |memory leak -- 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=547326 User rguenther@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=547326#c1 --- Comment #1 from Richard Guenther <rguenther@novell.com> 2009-10-17 08:56:31 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=547326 http://bugzilla.novell.com/show_bug.cgi?id=547326#c2 Marcus Rückert <mrueckert@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #2 from Marcus Rückert <mrueckert@novell.com> 2010-05-18 12:25:04 UTC --- dropped in factory and we wont fix it for older distros -- 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.
participants (1)
-
bugzilla_noreply@novell.com