mirror of https://gerrit.osmocom.org/libosmocore
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:
parent
e750980d6c
commit
fe1ed39846
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue