[Bug 537626] New: bluez-4.50-1.2: two memory leaks
http://bugzilla.novell.com/show_bug.cgi?id=537626 Summary: bluez-4.50-1.2: two memory leaks 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 bluez-4.50-1.2 For source code file bluez-4.50/rfcomm/main.c around line 130, function print_dev_list, is the following code dl = malloc(sizeof(*dl) + RFCOMM_MAX_DEV * sizeof(*di)); but I fail to find a matching call to free. This looks like a memory leak to me. Suggest add call to free. There is something similar for function release_all, local variable dl. -- 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=537626
Stephan Binner
http://bugzilla.novell.com/show_bug.cgi?id=537626
User vbotka@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=537626#c1
Vladimir Botka
http://bugzilla.novell.com/show_bug.cgi?id=537626
Uwe Drechsel
http://bugzilla.novell.com/show_bug.cgi?id=537626
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=537626#c2
--- Comment #2 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=537626
https://bugzilla.novell.com/show_bug.cgi?id=537626#c3
JP Rosevear
participants (1)
-
bugzilla_noreply@novell.com