aboutsummaryrefslogtreecommitdiffstats
path: root/tests/sercomm/sercomm_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sercomm/sercomm_test.c')
-rw-r--r--tests/sercomm/sercomm_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sercomm/sercomm_test.c b/tests/sercomm/sercomm_test.c
index f4f1c22b..058c9eb4 100644
--- a/tests/sercomm/sercomm_test.c
+++ b/tests/sercomm/sercomm_test.c
@@ -47,6 +47,7 @@ static void rx_ser_data(struct osmo_sercomm_inst *sc, const uint8_t *data, unsig
static void dlci_rx_cb(struct osmo_sercomm_inst *sercomm, uint8_t dlci, struct msgb *msg)
{
printf("%s(): %s\n", __func__, msgb_hexdump(msg));
+ msgb_free(msg);
}
static struct msgb *create_mahlzeit_msg(void)