From 89d1a77f37fc64b36c769fcac2cefc38abe6f7b4 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 3 May 2021 20:09:49 +0200 Subject: [PATCH] TT#111150 Fix memory leak in test Change-Id: I8461441516cf04f5da811ca5cdfca5a4029d7bf2 Warned-by: gcc ASAN --- t/test-dtmf-detect.c | 1 + 1 file changed, 1 insertion(+) diff --git a/t/test-dtmf-detect.c b/t/test-dtmf-detect.c index bb142ba8f..20874f29f 100644 --- a/t/test-dtmf-detect.c +++ b/t/test-dtmf-detect.c @@ -646,6 +646,7 @@ int main(int argc, char **argv) { "code 0 level -99 delay 816, ")) abort(); + g_string_free(output, TRUE); dtmf_rx_free(dtmf_dsp); return 0;