[svn:parrot] r45180 - trunk/src/pmc
chromatic at svn.parrot.org
chromatic at svn.parrot.org
Thu Mar 25 17:36:36 UTC 2010
Author: chromatic
Date: Thu Mar 25 17:36:34 2010
New Revision: 45180
URL: https://trac.parrot.org/parrot/changeset/45180
Log:
[PMC] Made Eval PMC destroy its contained PackFile_Segment. This fixes a
memory leak.
Modified:
trunk/src/pmc/eval.pmc
Modified: trunk/src/pmc/eval.pmc
==============================================================================
--- trunk/src/pmc/eval.pmc Thu Mar 25 10:30:12 2010 (r45179)
+++ trunk/src/pmc/eval.pmc Thu Mar 25 17:36:34 2010 (r45180)
@@ -210,14 +210,9 @@
cur_cs->fixups = NULL;
}
-/* XXX Commenting out this to fix TT #995 and related problems.
- * May leak some memory, need further revision.
-
seg = (PackFile_Segment *)cur_cs;
if (seg)
PackFile_Segment_destroy(INTERP, seg);
- * XXX End of commented out section.
- */
sub_data->seg = NULL;
More information about the parrot-commits
mailing list