##// END OF EJS Templates
Fix memory leak in c extension
Juan C. Valdez -
r880:f40770083742
parent child
Show More
@@ -51,5 +51,8 static PyObject *hildebrand_sekhon(PyObject *self, PyObject *args) {
51 }
51 }
52
52
53 double lnoise = sump / j;
53 double lnoise = sump / j;
54
55 Py_DECREF(data_array);
56
54 return Py_BuildValue("d", lnoise);
57 return Py_BuildValue("d", lnoise);
55 }
58 }
General Comments 0
You need to be logged in to leave comments. Login now