diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-11-05 18:17:32 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-11-05 18:17:32 (GMT) |
commit | 18142c0ca750b06320b4593133fe0c1b5a94336b (patch) | |
tree | 9c7c18aeafc698d407c5e69da4b37ef002513c92 /Modules | |
parent | 2801fe1c8f7d629e396ed514c4df25b43547970a (diff) | |
download | cpython-18142c0ca750b06320b4593133fe0c1b5a94336b.zip cpython-18142c0ca750b06320b4593133fe0c1b5a94336b.tar.gz cpython-18142c0ca750b06320b4593133fe0c1b5a94336b.tar.bz2 |
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.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/bz2module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/bz2module.c b/Modules/bz2module.c index c664c2a..638f7fe 100644 --- a/Modules/bz2module.c +++ b/Modules/bz2module.c @@ -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; |