[Python-checkins] cpython: don't leak node
benjamin.peterson
python-checkins at python.org
Thu Jan 19 14:48:24 CET 2012
http://hg.python.org/cpython/rev/053fbceaf789
changeset: 74525:053fbceaf789
user: Benjamin Peterson <benjamin at python.org>
date: Thu Jan 19 08:48:18 2012 -0500
summary:
don't leak node
files:
Parser/parsetok.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Parser/parsetok.c b/Parser/parsetok.c
--- a/Parser/parsetok.c
+++ b/Parser/parsetok.c
@@ -239,6 +239,7 @@
if (c && c != '#') {
err_ret->error = E_BADSINGLE;
+ PyNode_Free(n);
n = NULL;
}
}
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list