Mercurial > octave-nkf
diff liboctave/oct-fftw.h @ 14078:941d19370065 stable
Cleanup FFTW wisdom plans in class destructor and prevent a memory leak.
* oct-fftw.h, oct-fftw.cc: Add destructor to class which calls
fftw_destroy_plan to cleanup any FFTW wisdom plans.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Tue, 20 Dec 2011 17:59:07 -0800 |
parents | 99f039289e95 |
children | 72c96de7a403 |
line wrap: on
line diff
--- a/liboctave/oct-fftw.h Tue Dec 20 18:06:07 2011 -0500 +++ b/liboctave/oct-fftw.h Tue Dec 20 17:59:07 2011 -0800 @@ -44,7 +44,7 @@ public: - ~octave_fftw_planner (void) { } + ~octave_fftw_planner (void); enum FftwMethod { @@ -181,7 +181,7 @@ public: - ~octave_float_fftw_planner (void) { } + ~octave_float_fftw_planner (void); enum FftwMethod {