mirror of https://github.com/python/cpython
Fix SF #633935, test_bz2 fails
Needed to init ret since it was Py_XDECREF()d on error. All regressions pass in debug build for me.
This commit is contained in:
parent
2801fe1c8f
commit
18142c0ca7
|
@ -1701,7 +1701,7 @@ BZ2Decomp_decompress(BZ2DecompObject *self, PyObject *args)
|
|||
int datasize;
|
||||
int bufsize = SMALLCHUNK;
|
||||
long totalout;
|
||||
PyObject *ret;
|
||||
PyObject *ret = NULL;
|
||||
bz_stream *bzs = &self->bzs;
|
||||
int bzerror;
|
||||
|
||||
|
|
Loading…
Reference in New Issue