[svn:parrot] r39479 - trunk/src/pmc
chromatic at svn.parrot.org
chromatic at svn.parrot.org
Tue Jun 9 21:00:23 UTC 2009
Author: chromatic
Date: Tue Jun 9 21:00:23 2009
New Revision: 39479
URL: https://trac.parrot.org/parrot/changeset/39479
Log:
[PMC] Fixed a stupid typo which makes picky compilers run home to mommy. This
still doesn't crash OR leak memory.
Modified:
trunk/src/pmc/undef.pmc
Modified: trunk/src/pmc/undef.pmc
==============================================================================
--- trunk/src/pmc/undef.pmc Tue Jun 9 20:59:02 2009 (r39478)
+++ trunk/src/pmc/undef.pmc Tue Jun 9 21:00:23 2009 (r39479)
@@ -1,5 +1,5 @@
/*
-Copyright (C) 2004-2008, Parrot Foundation.
+Copyright (C) 2004-2009, Parrot Foundation.
$Id$
=head1 NAME
@@ -51,7 +51,7 @@
pmc_reuse_by_class(INTERP, SELF, class_, PObj_is_object_FLAG);
/* now swap memory without leaking it */
- attrs - PMC_data(SELF);
+ attrs = PMC_data(SELF);
PMC_data(SELF) = PMC_data(clone);
PMC_data(clone) = attrs;
VTABLE_destroy(interp, clone);
More information about the parrot-commits
mailing list