aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/utils/meas_vis.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-16 02:31:17 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-10-13 13:14:41 +0000
commit4c2d4ab5db5f5703d435e6a49639fca65a049778 (patch)
tree0bd360971fdd49b1bb8550d4d803aba31959977a /openbsc/src/utils/meas_vis.c
parente072da9d2e1ea7face8136fa90e6d9e9be70b997 (diff)
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
Diffstat (limited to 'openbsc/src/utils/meas_vis.c')
-rw-r--r--openbsc/src/utils/meas_vis.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/utils/meas_vis.c b/openbsc/src/utils/meas_vis.c
index 4f7e632c3..061a7a4ce 100644
--- a/openbsc/src/utils/meas_vis.c
+++ b/openbsc/src/utils/meas_vis.c
@@ -264,6 +264,8 @@ int main(int argc, char **argv)
char *header[1];
char *title[1];
+ msgb_talloc_ctx_init(NULL, 0);
+
printf("sizeof(gsm_meas_rep)=%u\n", sizeof(struct gsm_meas_rep));
printf("sizeof(meas_feed_meas)=%u\n", sizeof(struct meas_feed_meas));