[svn:parrot] r39076 - trunk/src
chromatic at svn.parrot.org
chromatic at svn.parrot.org
Sat May 23 10:38:32 UTC 2009
Author: chromatic
Date: Sat May 23 10:38:31 2009
New Revision: 39076
URL: https://trac.parrot.org/parrot/changeset/39076
Log:
[vtables] Removed a memory leak of the default PMC's cloned VTABLE. This
didn't start to leak until the clone-and-modify strategy from the VTABLE
initialization branch merged.
Modified:
trunk/src/vtables.c
Modified: trunk/src/vtables.c
==============================================================================
--- trunk/src/vtables.c Sat May 23 10:30:16 2009 (r39075)
+++ trunk/src/vtables.c Sat May 23 10:38:31 2009 (r39076)
@@ -179,7 +179,7 @@
ASSERT_ARGS(parrot_free_vtables)
int i;
- for (i = 1; i < interp->n_vtable_max; i++)
+ for (i = 0; i < interp->n_vtable_max; i++)
Parrot_destroy_vtable(interp, interp->vtables[i]);
mem_sys_free(interp->vtables);
More information about the parrot-commits
mailing list