aboutsummaryrefslogtreecommitdiffstats
path: root/libosmocore
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-04 11:36:33 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-04 11:36:33 +0200
commit1c0de6802c9b4ba77a110d96509b1de50eea3c7e (patch)
treefaadd0b70b3e5758847767d14cb8971bbec32cae /libosmocore
parentc6ec0406c810d265fd2db70b115458dc184bf5e5 (diff)
parent95df5c0179f6b24d31c6720a43434755ed58aa22 (diff)
Merge commit '95df5c0179f6b24d31c6720a43434755ed58aa22'
Diffstat (limited to 'libosmocore')
-rw-r--r--libosmocore/src/msgb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libosmocore/src/msgb.c b/libosmocore/src/msgb.c
index 9117a0ad0..a60e2ffa5 100644
--- a/libosmocore/src/msgb.c
+++ b/libosmocore/src/msgb.c
@@ -85,4 +85,6 @@ void msgb_reset(struct msgb *msg)
msg->l2h = NULL;
msg->l3h = NULL;
msg->l4h = NULL;
+
+ memset(&msg->cb, 0, sizeof(msg->cb));
}