mirror of https://gerrit.osmocom.org/libosmocore
gsm0808_test: sanitize: fix msgb memleak
Helps fix sanitizer build on debian 9. Change-Id: I0097d63bbb4e7ee20eb4a8474f4fef32d39e625f
This commit is contained in:
parent
d8e79c7fff
commit
9a938ae882
|
@ -256,6 +256,8 @@ static void test_create_cm_u()
|
|||
msg = gsm0808_create_classmark_update(&cm2, 1, &cm3, 1);
|
||||
VERIFY(msg, res, ARRAY_SIZE(res));
|
||||
|
||||
msgb_free(msg);
|
||||
|
||||
msg = gsm0808_create_classmark_update(&cm2, 1, NULL, 0);
|
||||
VERIFY(msg, res2o, ARRAY_SIZE(res2o));
|
||||
|
||||
|
|
Loading…
Reference in New Issue