develooper Front page | perl.cvs.parrot | Postings from November 2008

[svn:parrot] r33359 - trunk/src

From:
chromatic
Date:
November 29, 2008 18:02
Subject:
[svn:parrot] r33359 - trunk/src
Message ID:
20081130020202.4D266CB9AF@x12.develooper.com
Author: chromatic
Date: Sat Nov 29 18:02:01 2008
New Revision: 33359

Modified:
   trunk/src/inter_create.c

Log:
[src] Fixed another dynops memory leak, this time for the dynops func table.

Modified: trunk/src/inter_create.c
==============================================================================
--- trunk/src/inter_create.c	(original)
+++ trunk/src/inter_create.c	Sat Nov 29 18:02:01 2008
@@ -461,8 +461,10 @@
         Parrot_mmd_destroy(interp);
 
         /* dynop libs */
-        if (interp->n_libs > 0)
+        if (interp->n_libs > 0) {
             mem_sys_free(interp->op_info_table);
+            mem_sys_free(interp->op_func_table);
+        }
 
         MUTEX_DESTROY(interpreter_array_mutex);
         mem_sys_free(interp);



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About