[issue1134] Parsing a simple script eats all of your memory
Alexey Suda-Chen
report at bugs.python.org
Sun Sep 16 00:22:09 CEST 2007
Alexey Suda-Chen added the comment:
--- tokenizer.c (revision 58161)
+++ tokenizer.c (working copy)
@@ -402,6 +402,8 @@
if (allocated) {
Py_DECREF(bufobj);
}
+ Py_XDECREF(tok->decoding_buffer);
+ tok->decoding_buffer = 0;
return s;
----------
nosy: +alexeychen
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1134>
__________________________________
More information about the Python-bugs-list
mailing list