diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-09-16 02:31:17 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-10-13 13:14:41 +0000 |
commit | 4c2d4ab5db5f5703d435e6a49639fca65a049778 (patch) | |
tree | 0bd360971fdd49b1bb8550d4d803aba31959977a /openbsc/src/gprs | |
parent | e072da9d2e1ea7face8136fa90e6d9e9be70b997 (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/gprs')
-rw-r--r-- | openbsc/src/gprs/gtphub_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/gprs/gtphub_main.c b/openbsc/src/gprs/gtphub_main.c index 1e20a6342..46360f94d 100644 --- a/openbsc/src/gprs/gtphub_main.c +++ b/openbsc/src/gprs/gtphub_main.c @@ -299,6 +299,7 @@ int main(int argc, char **argv) struct gtphub *hub = &_hub; osmo_gtphub_ctx = talloc_named_const(NULL, 0, "osmo_gtphub"); + msgb_talloc_ctx_init(osmo_gtphub_ctx, 0); signal(SIGINT, &signal_handler); signal(SIGABRT, &signal_handler); |