msgb talloc ctx: initialize in all main() scopes
Add msgb_talloc_ctx_init() call to many main() functions still lacking a
msgb talloc context.
Change-Id: Ib0d6751260659cabf18a7ce80680ba2fb4228ea1
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_main.c b/openbsc/src/osmo-bsc/osmo_bsc_main.c
index d3128e4..daab55b 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_main.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_main.c
@@ -192,6 +192,7 @@
int rc;
tall_bsc_ctx = talloc_named_const(NULL, 1, "openbsc");
+ msgb_talloc_ctx_init(tall_bsc_ctx, 0);
osmo_init_logging(&log_info);
osmo_stats_init(tall_bsc_ctx);