Skip to content
Snippets Groups Projects
Commit c9bb75b7 authored by Daichi Tsuna's avatar Daichi Tsuna
Browse files

snglbursttable.c: enable memory de-allocation

parent 99916038
No related branches found
No related tags found
No related merge requests found
......@@ -139,6 +139,12 @@ static PyObject *__new__(PyTypeObject *type, PyObject *args, PyObject *kwds)
}
static void __del__(PyObject *self)
{
Py_TYPE(self)->tp_free(self);
}
static PyObject *from_buffer(PyObject *cls, PyObject *args)
{
const char *data;
......@@ -208,6 +214,7 @@ static PyTypeObject gstlal_GSTLALSnglBurst_Type = {
.tp_getset = getset,
.tp_name = MODULE_NAME ".GSTLALSnglBurst",
.tp_new = __new__,
.tp_dealloc = __del__,
};
......
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