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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1134>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to