c9b609039692 — Chris Cannam 3 years ago
Free these buffers
1 files changed, 6 insertions(+), 0 deletions(-)

M test/TestFFT.cpp
M test/TestFFT.cpp +6 -0
@@ 834,6 834,12 @@ ALL_IMPL_AUTO_TEST_CASE(random)
     COMPARE_ARR(re, re_compare, n/2 + 1);
     COMPARE_ARR(im, im_compare, n/2 + 1);
     COMPARE_SCALED_N(back, in, n, n);
+    delete[] back;
+    delete[] im_compare;
+    delete[] re_compare;
+    delete[] im;
+    delete[] re;
+    delete[] in;
 }
 
 BOOST_AUTO_TEST_SUITE_END()