[svn:parrot] r42070 - trunk/src/interp

chromatic at svn.parrot.org chromatic at svn.parrot.org
Sat Oct 24 07:50:46 UTC 2009


Author: chromatic
Date: Sat Oct 24 07:50:43 2009
New Revision: 42070
URL: https://trac.parrot.org/parrot/changeset/42070

Log:
[interp] Fixed a memory leak by freeing the interpreter's gc_sys pointer.

Modified:
   trunk/src/interp/inter_create.c

Modified: trunk/src/interp/inter_create.c
==============================================================================
--- trunk/src/interp/inter_create.c	Sat Oct 24 03:54:54 2009	(r42069)
+++ trunk/src/interp/inter_create.c	Sat Oct 24 07:50:43 2009	(r42070)
@@ -399,6 +399,8 @@
     /* mem subsystem is dead now */
     mem_sys_free(interp->mem_pools);
     interp->mem_pools = NULL;
+    mem_sys_free(interp->gc_sys);
+    interp->gc_sys = NULL;
 
     /* cache structure */
     destroy_object_cache(interp);


More information about the parrot-commits mailing list