summaryrefslogtreecommitdiffstats
path: root/tests/gsm0808
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-11-16 17:30:44 +0100
committerHarald Welte <laforge@gnumonks.org>2017-11-18 10:30:58 +0000
commitd8e79c7fff7f1b004551589a0eb32026e5cba812 (patch)
tree1f0b652f8292bb219cdb8ddc4cbbe9d5138106f7 /tests/gsm0808
parentdd2456043348cbfb9fb81fd88e33c6864d718cee (diff)
gsm0408_test: sanitize: cleanup msgb
Remove initial msgb talloc context creation: if we create a root ctx for msgb that all msgb are allocated in, we would in a final cleanup discard all msgbs, i.e. we would not verify that all msgb are cleaned up properly. If we create the msgb context and *don't* clean it up in the end, the sanitizer build fails because the context root is not cleaned up. Easiest is to actually allocate all msgb at NULL ctx, because then any msgb that aren't cleaned up properly would still linger, while we don't leave a root ctx that we need to clean up either. Helps fix sanitizer build on debian 9. Change-Id: I1f2d1d05c75bbf4d92787f9735083f18cdc90f6f
Diffstat (limited to 'tests/gsm0808')
0 files changed, 0 insertions, 0 deletions