[svn:parrot] r43333 - branches/boehm_gc/src

bacek at svn.parrot.org bacek at svn.parrot.org
Thu Dec 31 06:54:17 UTC 2009


Author: bacek
Date: Thu Dec 31 06:54:16 2009
New Revision: 43333
URL: https://trac.parrot.org/parrot/changeset/43333

Log:
Set used info.todo and info.seen to NULL in pmc_freeze.

Modified:
   branches/boehm_gc/src/pmc_freeze.c

Modified: branches/boehm_gc/src/pmc_freeze.c
==============================================================================
--- branches/boehm_gc/src/pmc_freeze.c	Thu Dec 31 06:54:00 2009	(r43332)
+++ branches/boehm_gc/src/pmc_freeze.c	Thu Dec 31 06:54:16 2009	(r43333)
@@ -1145,6 +1145,11 @@
     PackFile_destroy(interp, info.image_io->pf);
     mem_sys_free(info.image_io);
     info.image_io = NULL;
+
+    /* Drop used pointers so GC can collect it */
+    info.todo = NULL;
+    info.seen = NULL;
+
     return info.thaw_result;
 }
 


More information about the parrot-commits mailing list