GNOME Bugzilla – Bug 607602
newSVGParamSpec() memory leak on NULL
Last modified: 2010-01-21 20:31:09 UTC
Created attachment 151872 [details] 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.
Created attachment 151874 [details] [review] fix for leak
Looks good to me, thanks. Committed.