[svn:parrot] r48703 - trunk/src/runcore
chromatic at svn.parrot.org
chromatic at svn.parrot.org
Sat Aug 28 02:14:52 UTC 2010
Author: chromatic
Date: Sat Aug 28 02:14:51 2010
New Revision: 48703
URL: https://trac.parrot.org/parrot/changeset/48703
Log:
[runcore] Plugged op_libs memory leak.
Modified:
trunk/src/runcore/main.c
Modified: trunk/src/runcore/main.c
==============================================================================
--- trunk/src/runcore/main.c Sat Aug 28 02:14:46 2010 (r48702)
+++ trunk/src/runcore/main.c Sat Aug 28 02:14:51 2010 (r48703)
@@ -322,6 +322,11 @@
interp->cores = NULL;
interp->run_core = NULL;
+ if (interp->all_op_libs)
+ mem_gc_free(interp, interp->all_op_libs);
+
+ interp->all_op_libs = NULL;
+
/* dynop libs */
if (interp->n_libs <= 0)
return;
More information about the parrot-commits
mailing list