mirror of https://gerrit.osmocom.org/libosmocore
msgb: initialize cb[] to zero during msgb_reset()
This commit is contained in:
parent
35a939463e
commit
95df5c0179
|
@ -85,4 +85,6 @@ void msgb_reset(struct msgb *msg)
|
||||||
msg->l2h = NULL;
|
msg->l2h = NULL;
|
||||||
msg->l3h = NULL;
|
msg->l3h = NULL;
|
||||||
msg->l4h = NULL;
|
msg->l4h = NULL;
|
||||||
|
|
||||||
|
memset(&msg->cb, 0, sizeof(msg->cb));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue