[svn:parrot] r39978 - trunk/src/pmc
pmichaud at svn.parrot.org
pmichaud at svn.parrot.org
Fri Jul 10 14:56:28 UTC 2009
Author: pmichaud
Date: Fri Jul 10 14:56:27 2009
New Revision: 39978
URL: https://trac.parrot.org/parrot/changeset/39978
Log:
[core]: Class.isa_pmc should not be forcibly freeing STRING* values
it doesn't own. ("... we once again see that using string names
as class identifiers leads to trouble.")
Modified:
trunk/src/pmc/class.pmc
Modified: trunk/src/pmc/class.pmc
==============================================================================
--- trunk/src/pmc/class.pmc Fri Jul 10 08:35:52 2009 (r39977)
+++ trunk/src/pmc/class.pmc Fri Jul 10 14:56:27 2009 (r39978)
@@ -1305,10 +1305,6 @@
/* Check if the passed name is the same as the stored short name. */
INTVAL name_match = Parrot_str_equal(interp, classname, self_name);
- Parrot_str_free(interp, classname);
- if (is_proxy)
- Parrot_str_free(interp, self_name);
-
if (name_match)
return 1;
}
More information about the parrot-commits
mailing list