summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wolfram_link/convexminorant.tm1
1 files changed, 1 insertions, 0 deletions
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) {