diff options
Diffstat (limited to 'Modules/bz2module.c')
-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 fe417c5..c33e03c 100644 --- a/Modules/bz2module.c +++ b/Modules/bz2module.c @@ -1953,7 +1953,7 @@ BZ2Decomp_decompress(BZ2DecompObject *self, PyObject *args) self->running = 0; input_left += bzs->avail_in; if (input_left != 0) { - Py_SETREF(self->unused_data, + Py_XSETREF(self->unused_data, PyString_FromStringAndSize(bzs->next_in, input_left)); if (self->unused_data == NULL) goto error; |