Kaydet (Commit) 18142c0c authored tarafından Neal Norwitz's avatar Neal Norwitz

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.
üst 2801fe1c
...@@ -1701,7 +1701,7 @@ BZ2Decomp_decompress(BZ2DecompObject *self, PyObject *args) ...@@ -1701,7 +1701,7 @@ BZ2Decomp_decompress(BZ2DecompObject *self, PyObject *args)
int datasize; int datasize;
int bufsize = SMALLCHUNK; int bufsize = SMALLCHUNK;
long totalout; long totalout;
PyObject *ret; PyObject *ret = NULL;
bz_stream *bzs = &self->bzs; bz_stream *bzs = &self->bzs;
int bzerror; int bzerror;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment