[svn:parrot] r38260 - trunk/src/pmc

cotto at svn.parrot.org cotto at svn.parrot.org
Tue Apr 21 22:56:16 UTC 2009


Author: cotto
Date: Tue Apr 21 22:56:14 2009
New Revision: 38260
URL: https://trac.parrot.org/parrot/changeset/38260

Log:
[PMC] remove workaround that's no longer needed

Modified:
   trunk/src/pmc/string.pmc

Modified: trunk/src/pmc/string.pmc
==============================================================================
--- trunk/src/pmc/string.pmc	Tue Apr 21 22:22:19 2009	(r38259)
+++ trunk/src/pmc/string.pmc	Tue Apr 21 22:56:14 2009	(r38260)
@@ -57,13 +57,7 @@
 */
 
     VTABLE void destroy() {
-
-        /* There's a bug that causes this function to be called several times
-         * during t/pmc/thread.t test 18.  The null check/assignment allows the
-         * test to pass, but obviously something's goofy. */
-        if (PMC_data(SELF))
-            mem_sys_free(PMC_data(SELF));
-        PMC_data(SELF) = NULL;
+        mem_sys_free(PMC_data(SELF));
     }
 
 


More information about the parrot-commits mailing list