[tests] fix leak in test-mathutils.c
authorPaul Brossier <piem@piem.org>
Thu, 6 Dec 2018 10:47:16 +0000 (11:47 +0100)
committerPaul Brossier <piem@piem.org>
Thu, 6 Dec 2018 10:47:16 +0000 (11:47 +0100)
tests/src/test-mathutils.c

index 43c8822..ca01500 100644 (file)
@@ -100,6 +100,7 @@ int test_aubio_window (void)
   window = new_fvec(window_size);
   fvec_set_window(window, "rectangle");
   fvec_print(window);
   window = new_fvec(window_size);
   fvec_set_window(window, "rectangle");
   fvec_print(window);
+  del_fvec(window);
 
   window_size /= 2.;
   window = new_aubio_window("parzen", window_size);
 
   window_size /= 2.;
   window = new_aubio_window("parzen", window_size);