Antoine Pitrou <pit...@free.fr> added the comment:

When the following snippet is taken:

        if (_PyString_Resize(&rv,
                           (bin_data -
                            (unsigned char *)PyString_AS_STRING(rv))) < 0) {
                PyBuffer_Release(&pascii);
                Py_DECREF(rv);
                rv = NULL;
        }

pascii will get released a second time at the end of function. The rest is 
fine, I'm gonna fix it myself.

----------

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

Reply via email to