commit | 20215f1b08d69353543c3c184a0b8d60bed66055 | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Fri Sep 16 02:31:17 2016 +0200 |
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Thu Oct 13 13:14:41 2016 +0000 |
tree | 0bd360971fdd49b1bb8550d4d803aba31959977a | |
parent | 84540e165da0d8711d42e9a4c0132a9050e4319f [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
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c index b531c6b..2914a01 100644 --- a/openbsc/tests/bsc-nat/bsc_nat_test.c +++ b/openbsc/tests/bsc-nat/bsc_nat_test.c
@@ -1551,6 +1551,7 @@ int main(int argc, char **argv) { + msgb_talloc_ctx_init(NULL, 0); sccp_set_log_area(DSCCP); osmo_init_logging(&log_info);