From 4c2d4ab5db5f5703d435e6a49639fca65a049778 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Fri, 16 Sep 2016 02:31:17 +0200 Subject: 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 --- openbsc/tests/bsc/bsc_test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc/tests/bsc') diff --git a/openbsc/tests/bsc/bsc_test.c b/openbsc/tests/bsc/bsc_test.c index cc4565246..6d41941c1 100644 --- a/openbsc/tests/bsc/bsc_test.c +++ b/openbsc/tests/bsc/bsc_test.c @@ -199,6 +199,7 @@ out: int main(int argc, char **argv) { + msgb_talloc_ctx_init(NULL, 0); osmo_init_logging(&log_info); test_scan(); -- cgit v1.2.3