Commit a3e6c976 authored by Hirokazu Yamamoto's avatar Hirokazu Yamamoto

Fixed memory leak on failure.

parent c51ec0a9
......@@ -298,7 +298,7 @@ PyByteArray_Concat(PyObject *a, PyObject *b)
size = va.len + vb.len;
if (size < 0) {
return PyErr_NoMemory();
PyErr_NoMemory();
goto done;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment