Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

Looking at

    Py_DECREF(one);
 
    result = PyTuple_New(2);
    if (result == NULL)
        goto error;
..
  error:
    Py_XDECREF(one);


If PyTuple_New fails, wouldn't it result in one being DECREF's twice?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8817>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to