sercomm_test: sanitize: fix msgb mem leak

This should fix the last current remaining sanitizer build failure in
libosmocore regression tests.

Helps fix sanitizer build on debian 9.

Change-Id: I4d6dd7f4348675bc77d4df5a7a0ce41f12d4a043
This commit is contained in:
Neels Hofmeyr 2017-11-17 00:15:44 +01:00
parent e750980d6c
commit fe1ed39846
1 changed files with 1 additions and 0 deletions

View File

@ -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)