Author: Remi Meier <[email protected]>
Branch: c8-private-pages
Changeset: r1544:a9ebb62368a6
Date: 2015-01-19 11:07 +0100
http://bitbucket.org/pypy/stmgc/changeset/a9ebb62368a6/

Log:    fix for trying to free -1

diff --git a/c8/stm/core.c b/c8/stm/core.c
--- a/c8/stm/core.c
+++ b/c8/stm/core.c
@@ -414,7 +414,8 @@
 
     while (1) {
         if (!_stm_validate()) {
-            free(new);
+            if (new != INEV_RUNNING)
+                free(new);
             stm_abort_transaction();
         }
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to