diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-11-16 16:24:36 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-11-18 10:30:58 +0000 |
commit | 39720acb069a33dfef77f07044efe89d0327d963 (patch) | |
tree | 04b5295f2ce95dac3ccb6ff5d8e2e3fef4abacb1 /tests/abis | |
parent | 00393e1a042df7d8d5fc59d6443502b6bd82c520 (diff) |
abis_test: sanitize: fix msgb memleak
Helps fix sanitizer build on debian 9.
Change-Id: I69750d9cd2b8f30bfc6d2dfd9e62576e46989fab
Diffstat (limited to 'tests/abis')
-rw-r--r-- | tests/abis/abis_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |