Author: Armin Rigo <[email protected]>
Branch: continulet-jit
Changeset: r48080:5d59522520df
Date: 2011-10-16 13:42 +0200
http://bitbucket.org/pypy/pypy/changeset/5d59522520df/

Log:    Forgot a free() in a corner case.

diff --git a/pypy/translator/c/src/stacklet/stacklet.c 
b/pypy/translator/c/src/stacklet/stacklet.c
--- a/pypy/translator/c/src/stacklet/stacklet.c
+++ b/pypy/translator/c/src/stacklet/stacklet.c
@@ -343,6 +343,8 @@
             *pp = target->stack_prev;
             break;
         }
+    assert(target->id->stacklet == target);
+    free(target->id);
     free(target);
 }
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to