mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 09:26:16 +03:00
Release buffer
This commit is contained in:
parent
7e8b11b159
commit
9c98f4d515
|
@ -134,6 +134,7 @@ _decode(ImagingDecoderObject *decoder, PyObject *args) {
|
|||
ImagingSectionLeave(&cookie);
|
||||
}
|
||||
|
||||
PyBuffer_Release(&buffer);
|
||||
return Py_BuildValue("ii", status, decoder->state.errcode);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user