aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2023-04-01 22:28:28 +0300
committerDaniil Cherednik <dan.cherednik@gmail.com>2023-04-01 22:28:28 +0300
commit18a45590e9585d97ba67992ba1aeef7d42647781 (patch)
tree9439c56b3ac35d9dff8f0a20d462bbb2bd9f9726
parent089adb31af9612188088274c248fc490f24cf41e (diff)
downloadlibpqf-18a45590e9585d97ba67992ba1aeef7d42647781.tar.gz
Fix memory leak on context free
-rw-r--r--src/pqf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pqf.c b/src/pqf.c
index f46c48b..5017daf 100644
--- a/src/pqf.c
+++ b/src/pqf.c
@@ -237,6 +237,7 @@ uint16_t pqf_get_subbands_num(pqf_a_ctx_t ctx)
void pqf_free_a_ctx(pqf_a_ctx_t ctx)
{
free(ctx->y);
+ free(ctx->cos_tab);
free(ctx->c);
free(ctx->proto);
free(ctx->buf);