[Bug 542345] New: sax2-8.1-582.4: memory leak
http://bugzilla.novell.com/show_bug.cgi?id=542345 Summary: sax2-8.1-582.4: 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 sax2-8.1-582.4 For source code file sax/sysp/lib/hw/keyboard.c around line 30, function KeyboardGetData is the following code hd_data = (hd_data_t*)calloc(1, sizeof *hd_data); but I fail to notice a matching call to free. This looks like a memory leak to me. Suggest add call to free. -- 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=542345
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=542345
User ms@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=542345#c1
Marcus Schaefer
http://bugzilla.novell.com/show_bug.cgi?id=542345
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=542345
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=542345#c2
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=542345
User dcb314@hotmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=542345#c3
David Binderman
Thanks. How did you find that?
Pattern matching, basically. Places where there is a call to malloc or calloc and no matching call to free in the same function. -- 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=542345
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=542345#c4
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=542345
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=542345#c5
Stefan Dirsch
participants (1)
-
bugzilla_noreply@novell.com