X-Git-Url: https://hackdaworld.org/gitweb/?p=physik%2Fnlsop.git;a=blobdiff_plain;f=dft.c;fp=dft.c;h=c4fe5669d8e33f1cf211261d9d485802177d7391;hp=20550b42d273043b83d569bc3b975a91217ce473;hb=a71739ce82f5083a58f4ed387566c391581e1ac4;hpb=a3cbb7c69a446df4bbae587fda032955ccdbb73d diff --git a/dft.c b/dft.c index 20550b4..c4fe566 100644 --- 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);