summaryrefslogtreecommitdiffstats
path: root/src/lowpass.c
diff options
context:
space:
mode:
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);
}