You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -347,9 +353,11 @@ void FCWT::create_FFT_optimization_plan(int maxsize, int flags) {
347
353
348
354
fftwf_export_wisdom_to_filename(file_for);
349
355
350
-
free(dat);
356
+
fftwf_free(dat);
351
357
fftwf_free(O1);
352
358
fftwf_free(out);
359
+
fftwf_destroy_plan(p_for);
360
+
fftwf_destroy_plan(p_back);
353
361
354
362
std::cout << "Optimization schemes for N: " << n << " have been calculated. Next time you use fCWT it will automatically choose the right optimization scheme based on number of threads and signal length." << std::endl;
0 commit comments