Permalink
Browse files

Changed free() calls to vect_free() calls in explorefft.c

  • Loading branch information...
1 parent a308cc2 commit aa42d1a2b68ba3344f06bcdecd1a8007a5d84cd0 Paul Scholz committed Oct 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/explorefft.c
View
@@ -193,7 +193,7 @@ static double plot_fftview(fftview * fv, float maxpow, float charhgt,
cpgdraw(freqs[ii], fv->powers[ii]);
}
}
- free(freqs);
+ vect_free(freqs);
cpgmtxt("L", 2.5, 0.5, 0.5, "Normalized Power");
cpgebuf();
cpgunsa();
@@ -240,7 +240,7 @@ static fftview *get_fftview(double centerr, int zoomlevel, fftpart * fp)
fv->powers[ii] = POWER(interp[ii].r, interp[ii].i) * norm_const;
}
}
- free(interp);
+ vect_free(interp);
} else { /* Down-sampled power spectrum */
int jj, powindex, normindex, binstocombine;
float *tmprawpwrs, maxpow;

0 comments on commit aa42d1a

Please sign in to comment.