Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

This fixes a memory leak in the allocation of doubles, but causes 4 t…

…ests to fail
  • Loading branch information...
commit ea88229c9a56a6700938e67a776f2191de0dd0a7 1 parent 60562ba
@leto authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 swig/gsl_typemaps.i
View
4 swig/gsl_typemaps.i
@@ -27,6 +27,10 @@
}
}
+%typemap(freearg) double const [] {
+ if ($1) free($1);
+}
+
%apply double const [] {
size_t *p ,double *data, double *dest, double *f_in, double *f_out,
double data[], const double * src, double x[], double a[], double b[] ,
Please sign in to comment.
Something went wrong with that request. Please try again.