Fixed memory leak on failure.

This commit is contained in:
Hirokazu Yamamoto 2009-03-05 09:34:14 +00:00
parent c51ec0a9e3
commit a3e6c9763c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}