free magnitude double array
[physik/nlsop.git] / dft.c
diff --git a/dft.c b/dft.c
index 20550b4..c4fe566 100644 (file)
--- a/dft.c
+++ b/dft.c
@@ -84,6 +84,8 @@ int main(int argc,char **argv) {
     }
   }
 
+  free(mag);
+
   bmp_write_file(&dst);
 
   fourier_shutdown(&fourier);