From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-01-20 21:49:22
|
https://bugzilla.gnome.org/show_bug.cgi?id=607602 gnome-perl | Glib | unspecified Summary: newSVGParamSpec() memory leak on NULL Classification: Bindings Product: gnome-perl Version: unspecified OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: Glib AssignedTo: gtk...@li... ReportedBy: us...@zi... QAContact: gtk...@li... GNOME target: --- GNOME version: --- Created an attachment (id=151872) --> (https://bugzilla.gnome.org/attachment.cgi?id=151872) program which grows unboundedly I think the newHV() in newSVGParamSpec() leaks memory if pspec==NULL. The program foo.pl attached uses ever more more memory. I expect the HV creation might be done after the NULL check. The attached diff improves it for me. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |