From 39720acb069a33dfef77f07044efe89d0327d963 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 16 Nov 2017 16:24:36 +0100 Subject: abis_test: sanitize: fix msgb memleak Helps fix sanitizer build on debian 9. Change-Id: I69750d9cd2b8f30bfc6d2dfd9e62576e46989fab --- tests/abis/abis_test.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/abis/abis_test.c b/tests/abis/abis_test.c index a631712b..c0605c28 100644 --- a/tests/abis/abis_test.c +++ b/tests/abis/abis_test.c @@ -193,6 +193,8 @@ static void test_sw_descr() /* check multiple, chained SW-descr: */ chk_raw("half", chain, sizeof(chain) / 2); chk_raw("full", chain, sizeof(chain)); + + msgb_free(msg); } int main(int argc, char **argv) -- cgit v1.2.3