develooper Front page | perl.perl5.porters | Postings from October 2009

[PATCH] Free old_body in sv_upgrade, also with -DPURIFY

Thread Next
From:
Gerard Goossen
Date:
October 26, 2009 08:59
Subject:
[PATCH] Free old_body in sv_upgrade, also with -DPURIFY
Message ID:
20091026155849.GI17709@ggoossen.net
Attached patch fixes the memory leak when running with -DPURIFY.
In the original code the memory never gets freed because with -DPURIFY,
the old_type_details->arena is always false.

Gerard


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About