[svn:parrot] r39237 - trunk/src/pmc
chromatic at svn.parrot.org
chromatic at svn.parrot.org
Fri May 29 10:08:46 UTC 2009
Author: chromatic
Date: Fri May 29 10:08:45 2009
New Revision: 39237
URL: https://trac.parrot.org/parrot/changeset/39237
Log:
[PMC] Fixed a memory leak when thawing a FixedIntegerArray PMC; it didn't have
its active destroy flag set.
Modified:
trunk/src/pmc/fixedintegerarray.pmc
Modified: trunk/src/pmc/fixedintegerarray.pmc
==============================================================================
--- trunk/src/pmc/fixedintegerarray.pmc Fri May 29 10:05:02 2009 (r39236)
+++ trunk/src/pmc/fixedintegerarray.pmc Fri May 29 10:08:45 2009 (r39237)
@@ -659,6 +659,7 @@
Parrot_FixedIntegerArray_attributes *attrs =
mem_allocate_zeroed_typed(Parrot_FixedIntegerArray_attributes);
PMC_data(SELF) = attrs;
+ PObj_active_destroy_SET(SELF);
if (info->extra_flags == EXTRA_IS_NULL) {
IMAGE_IO * const io = info->image_io;
More information about the parrot-commits
mailing list