From 6a3d9dbb3f5f1c242ada1ecbbdbb9c3cd865d4cf Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Tue, 17 Jul 2018 14:38:15 -0400 Subject: fixed small memory leak in wolfram link --- wolfram_link/convexminorant.tm | 1 + 1 file changed, 1 insertion(+) (limited to 'wolfram_link') diff --git a/wolfram_link/convexminorant.tm b/wolfram_link/convexminorant.tm index 48f5650..edca6f4 100644 --- a/wolfram_link/convexminorant.tm +++ b/wolfram_link/convexminorant.tm @@ -25,6 +25,7 @@ void convexminorant(double * Gammas, int len) { } double *m = get_convex_minorant(i, Gammas); WSPutReal64List(stdlink, m, i); + free(m); } int main(int argc, char **argv) { -- cgit v1.2.3-70-g09d2