[svn:parrot] r48895 - trunk/src

nwellnhof at svn.parrot.org nwellnhof at svn.parrot.org
Fri Sep 10 00:22:53 UTC 2010


Author: nwellnhof
Date: Fri Sep 10 00:22:53 2010
New Revision: 48895
URL: https://trac.parrot.org/parrot/changeset/48895

Log:
Don't forget to free the hash in PackFile_ConstTable

Modified:
   trunk/src/packfile.c

Modified: trunk/src/packfile.c
==============================================================================
--- trunk/src/packfile.c	Fri Sep 10 00:09:51 2010	(r48894)
+++ trunk/src/packfile.c	Fri Sep 10 00:22:53 2010	(r48895)
@@ -3912,6 +3912,11 @@
 
     self->const_count = 0;
 
+    if (self->string_hash) {
+        parrot_hash_destroy(interp, self->string_hash);
+        self->string_hash = NULL;
+    }
+
     return;
 }
 


More information about the parrot-commits mailing list