Skip to content

Commit 6c6f93d

Browse files
!fixup backport
1 parent cc7d163 commit 6c6f93d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Modules/zlibmodule.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ zlib_Decompress_flush_impl(compobject *self, PyTypeObject *cls,
12801280
/* A previous flush() already reached the end of the stream and freed the
12811281
decompression state, so there is nothing left to process. */
12821282
if (!self->is_initialised) {
1283-
PyMutex_Unlock(&self->mutex);
1283+
LEAVE_ZLIB(self);
12841284
return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
12851285
}
12861286

0 commit comments

Comments
 (0)