aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/gsm0808/gsm0808_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gsm0808/gsm0808_test.c b/tests/gsm0808/gsm0808_test.c
index 68771a45..28bd7f72 100644
--- a/tests/gsm0808/gsm0808_test.c
+++ b/tests/gsm0808/gsm0808_test.c
@@ -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));