[Bug 539096] New: jack-0.116.2-3.10: memory leak
http://bugzilla.novell.com/show_bug.cgi?id=539096 Summary: jack-0.116.2-3.10: 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 jack-0.116.2-3.10 For source code file jack-audio-connection-kit-0.116.2/drivers/alsa/alsa_driver.c around line 2630, function driver_initialize, is the following code midi_driver_name = strdup (param->value.str); but I fail to find 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=539096
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=539096
User tiwai@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539096#c1
--- Comment #1 from Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=539096
User dcb314@hotmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539096#c2
--- Comment #2 from David Binderman
The right fix would be just not to call strdup().
Maybe. Suggest run the non-strdup version through valgrind to check. I am not sure how to make sure the processor reaches the section of code. -- 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=539096
User tiwai@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539096#c3
Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=539096
http://bugzilla.novell.com/show_bug.cgi?id=539096#c4
--- Comment #4 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com