[pypy-commit] pypy continulet-jit: Forgot a free() in a corner case.
arigo
noreply at buildbot.pypy.org
Sun Oct 16 15:10:03 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
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);
}
More information about the pypy-commit
mailing list