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/utils/meas_udp2db.c b/openbsc/src/utils/meas_udp2db.c
index 4a07217..5032d0c 100644
--- a/openbsc/src/utils/meas_udp2db.c
+++ b/openbsc/src/utils/meas_udp2db.c
@@ -90,6 +90,8 @@
char *db_fname;
int rc;
+ msgb_talloc_ctx_init(NULL, 0);
+
if (argc < 2) {
fprintf(stderr, "You have to specify the database file name\n");
exit(2);