[Bug 540497] New: libvirt-cim-0.5.6-2.2: memory leak
http://bugzilla.novell.com/show_bug.cgi?id=540497 Summary: libvirt-cim-0.5.6-2.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 libvirt-cim-0.5.6-2.2 For source code file libvirt-cim-0.5.6/src/Virt_RASD.c around line 670, function _get_rasds is the following code tmp_dev = calloc(1, sizeof(*tmp_dev)); tmp_dev = virt_device_dup(&devs[count - 1]); This is an obvious memory leak, since the memory allocated on the first line cannot be freed after the second line. Suggest remove first line. -- 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=540497
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=540497
User jfehlig@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540497#c1
James Fehlig
http://bugzilla.novell.com/show_bug.cgi?id=540497
User jfehlig@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540497#c2
--- Comment #2 from James Fehlig
http://bugzilla.novell.com/show_bug.cgi?id=540497
User jfehlig@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540497#c3
James Fehlig
http://bugzilla.novell.com/show_bug.cgi?id=540497
http://bugzilla.novell.com/show_bug.cgi?id=540497#c4
--- Comment #4 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com