From fad15309dd37055105d9b97db19e71de230b466b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Ji=C5=99=C3=ADk?= Date: Thu, 13 Feb 2014 12:35:14 +0100 Subject: [PATCH] Update gco_python.pyx memory leak fix --- gco_python.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/gco_python.pyx b/gco_python.pyx index 8f34670..dba4941 100644 --- a/gco_python.pyx +++ b/gco_python.pyx @@ -192,4 +192,5 @@ def cut_from_graph(np.ndarray[np.int32_t, ndim=2, mode='c'] edges, cdef int * result_ptr = result.data for i in xrange(n_vertices): result_ptr[i] = gc.whatLabel(i) + del gc return result