Release source buffer on error in get_frame_info
@@ -750,6 +750,7 @@ get_frame_info (PyObject * Py_UNUSED (self), PyObject * args,
if (LZ4F_isError (result))
{
Py_BLOCK_THREADS
+ PyBuffer_Release(&py_source);
PyErr_Format (PyExc_RuntimeError,
"LZ4F_createDecompressionContext failed with code: %s",
LZ4F_getErrorName (result));
