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/oap/oap_test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc/tests/oap/oap_test.c') diff --git a/openbsc/tests/oap/oap_test.c b/openbsc/tests/oap/oap_test.c index 339d77430..d200ed205 100644 --- a/openbsc/tests/oap/oap_test.c +++ b/openbsc/tests/oap/oap_test.c @@ -234,6 +234,7 @@ static struct log_info info = { int main(int argc, char **argv) { + msgb_talloc_ctx_init(NULL, 0); osmo_init_logging(&info); test_oap_api(); -- cgit v1.2.3