Author: Remi Meier <meier...@student.ethz.ch>
Branch: copy-over-original
Changeset: r386:b2090bd31f4d
Date: 2013-07-11 08:00 +0200
http://bitbucket.org/pypy/stmgc/changeset/b2090bd31f4d/

Log:    fix bad cleanup :(

diff --git a/c4/gcpage.c b/c4/gcpage.c
--- a/c4/gcpage.c
+++ b/c4/gcpage.c
@@ -589,7 +589,8 @@
         assert(!(obj->h_tid & GCFLAG_STUB));
 
         if (!(obj->h_tid & GCFLAG_OLD)) {
-            items[i] = (gcptr)obj->h_revision;
+            obj = (gcptr)obj->h_revision;
+            items[i] = obj;
         }
         else if (obj->h_tid & GCFLAG_PRIVATE_FROM_PROTECTED) {
             /* Warning: in case the object listed is outdated and has been
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to