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:
Neal Norwitz 2002-11-05 18:17:32 +00:00
parent 2801fe1c8f
commit 18142c0ca7
1 changed files with 1 additions and 1 deletions

View File

@ -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;