diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-11-16 22:32:36 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-11-20 17:22:42 +0100 |
commit | 0128c78ffe25196f53fbbc0884a9c4587f493224 (patch) | |
tree | 4f1548c5c737da07eb62eaee99ce2dc31ccb45dc /tests/write_queue/wqueue_test.c | |
parent | 9541a683780d23b260c5c0f6b9a9572a7ac16a66 (diff) |
bssgp_fc_test: sanitizer: free msgb context when done
Print remaining msgbs when done, then free the entire tall_msgb_context. To be
able to do that, call msgb_talloc_ctx_init() and use its return value.
A subsequent patch will fix a known mem leak and add assertions for 0b in 1
blocks remaining in the tall_msgb_context.
Helps fix sanitizer build on debian 9.
Change-Id: I67d347ab2642b0bfc27b21b44231a7f3146ff641
Diffstat (limited to 'tests/write_queue/wqueue_test.c')
0 files changed, 0 insertions, 0 deletions