[svn:parrot] r49658 - trunk/src/gc

chromatic at svn.parrot.org chromatic at svn.parrot.org
Mon Oct 25 03:14:56 UTC 2010


Author: chromatic
Date: Mon Oct 25 03:14:56 2010
New Revision: 49658
URL: https://trac.parrot.org/parrot/changeset/49658

Log:
[GC] Plugged memory leak of MS2's fixed allocator.

Modified:
   trunk/src/gc/fixed_allocator.c

Modified: trunk/src/gc/fixed_allocator.c
==============================================================================
--- trunk/src/gc/fixed_allocator.c	Mon Oct 25 03:14:53 2010	(r49657)
+++ trunk/src/gc/fixed_allocator.c	Mon Oct 25 03:14:56 2010	(r49658)
@@ -123,6 +123,9 @@
             Parrot_gc_pool_destroy(interp, allocator->pools[i]);
         }
     }
+
+    mem_sys_free(allocator->pools);
+    mem_sys_free(allocator);
 }
 
 PARROT_EXPORT


More information about the parrot-commits mailing list