diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-07-17 14:38:15 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-07-17 14:38:15 -0400 |
commit | 6a3d9dbb3f5f1c242ada1ecbbdbb9c3cd865d4cf (patch) | |
tree | c273d8ccc8ff65151465e5ad2667f93b91cdcf72 /wolfram_link | |
parent | 9efebf3aad99612ff6227ef67bf59b74e386daab (diff) | |
download | c++-6a3d9dbb3f5f1c242ada1ecbbdbb9c3cd865d4cf.tar.gz c++-6a3d9dbb3f5f1c242ada1ecbbdbb9c3cd865d4cf.tar.bz2 c++-6a3d9dbb3f5f1c242ada1ecbbdbb9c3cd865d4cf.zip |
fixed small memory leak in wolfram link
Diffstat (limited to 'wolfram_link')
-rw-r--r-- | wolfram_link/convexminorant.tm | 1 |
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) { |