summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniil Cherednik <[email protected]>2025-05-22 22:57:24 +0200
committerDaniil Cherednik <[email protected]>2025-05-22 22:57:24 +0200
commitc90d2edd9c75dc2fa10e628b9e265ffe97f9a174 (patch)
tree7795ee5ea85e0179e80a5d9c85690f9265967b7c
parent627bba081534fe649cf8d88d62184abdb3c38b44 (diff)
Fix memory leak in dtmf example.
-rw-r--r--test/dtmf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dtmf.c b/test/dtmf.c
index 96a1dcf..da4af75 100644
--- a/test/dtmf.c
+++ b/test/dtmf.c
@@ -76,6 +76,7 @@ int main(int argc, char** argv) {
gha_free_ctx(ctx);
free(buf);
+ free(buf2);
if (argc == 8) {
double freq[2];