commit | 4c2d4ab5db5f5703d435e6a49639fca65a049778 | [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 | e072da9d2e1ea7face8136fa90e6d9e9be70b997 [diff] [blame] |
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/smpp_mirror.c b/openbsc/src/utils/smpp_mirror.c index 2f154db..95df5f2 100644 --- a/openbsc/src/utils/smpp_mirror.c +++ b/openbsc/src/utils/smpp_mirror.c
@@ -302,6 +302,8 @@ int port = 0; int rc; + msgb_talloc_ctx_init(NULL, 0); + memset(&esme, 0, sizeof(esme)); osmo_init_logging(&log_info);