From fec10cfa89d196c1c4fbea8d5b2997a94697da86 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Wed, 11 Jul 2018 04:26:34 +0200 Subject: call osmo_xua_msg_tall_ctx_init() xua_msg allocations should not go unnoticed by our root ctx. libosmo-sigtran recently added this API to fix that. Depends: I618878680a096a7f7fc2d83098590f2e4cb08870 (libosmo-sccp) Change-Id: I8d5edda17be82e0cb4a1af3e2a62cbcb3a2ddda3 --- src/osmo-bsc/osmo_bsc_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c index 622070bdd..65e82f544 100644 --- a/src/osmo-bsc/osmo_bsc_main.c +++ b/src/osmo-bsc/osmo_bsc_main.c @@ -56,6 +56,8 @@ #include +#include + #define _GNU_SOURCE #include @@ -774,6 +776,7 @@ int main(int argc, char **argv) tall_bsc_ctx = talloc_named_const(NULL, 1, "osmo-bsc"); msgb_talloc_ctx_init(tall_bsc_ctx, 0); + osmo_xua_msg_tall_ctx_init(tall_bsc_ctx); vty_info.tall_ctx = tall_bsc_ctx; tall_paging_ctx = talloc_named_const(tall_bsc_ctx, 0, "paging_request"); -- cgit v1.2.3