Skip to content
Snippets Groups Projects
Commit 9697a40d authored by Leo P. Singer's avatar Leo P. Singer
Browse files

Plug reference leak when extracting sngl_inspiral sequences

PyList_Append increments the item's reference count.
parent 1c78b85d
No related branches found
No related tags found
No related merge requests found
......@@ -309,6 +309,7 @@ static PyObject *from_buffer(PyObject *cls, PyObject *args)
}
PyList_Append(result, item);
Py_DECREF(item);
}
if (data != end)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment