summaryrefslogtreecommitdiffstats
path: root/src/lowpass.c
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2023-11-21 14:07:33 +0200
committergramanas <anastasis.gramm2@gmail.com>2023-11-21 14:07:33 +0200
commitc03d395f6848fe9b2d1185173a9cf5ec8277394f (patch)
tree2dad9fe79a189096b713559e35cf49497fea817a /src/lowpass.c
parenta7c39399e3ec051f210d9e991fe0112d0f988817 (diff)
downloadsynth-project-c03d395f6848fe9b2d1185173a9cf5ec8277394f.tar.gz
synth-project-c03d395f6848fe9b2d1185173a9cf5ec8277394f.tar.bz2
synth-project-c03d395f6848fe9b2d1185173a9cf5ec8277394f.zip
Crappy fft for spectrum analysis and initial gtk test
Diffstat (limited to 'src/lowpass.c')
-rw-r--r--src/lowpass.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lowpass.c b/src/lowpass.c
index ccb41dd..0ec53be 100644
--- a/src/lowpass.c
+++ b/src/lowpass.c
@@ -181,6 +181,8 @@ signed char lpf_init()
void lpf_close()
{
+ if (iir.coef)
+ free(iir.coef);
}