mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue