[Bug 539568] New: kerneloops-0.12-31.19: memory leak
http://bugzilla.novell.com/show_bug.cgi?id=539568 Summary: kerneloops-0.12-31.19: 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: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just had a look at factory package kerneloops-0.12-31.19 For source code file kerneloops-0.12/submit.c around line 190, function writefunction, is the following code c = malloc(size*nmemb + 1); but I fail to detect a matching call to free. This looks like a memory leak to me. Suggest add call to free near the end of the routine. strncpy(result_url, c1, 4095); } free( c); return size * nmemb; } -- 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=539568
User devzero@web.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=539568#c1
roland kletzing
http://bugzilla.novell.com/show_bug.cgi?id=539568
User dcb314@hotmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539568#c2
--- Comment #2 from David Binderman
nice find :)
Cheers
did you CC Arjan to make sure this will be fixed upstream ?
I've tried to CC Arjan, but I couldn't get it to work right. Maybe someone else could do this for me, please ? -- 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=539568
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539568#c3
--- Comment #3 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=539568
User jeffm@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539568#c4
Jeff Mahoney
participants (1)
-
bugzilla_noreply@novell.com