aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-07-11 04:26:34 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-07-11 04:29:10 +0200
commitfec10cfa89d196c1c4fbea8d5b2997a94697da86 (patch)
tree5711056ea37d7fd4e7ef6a070b236ee349226ad1
parente45d2daab4fec26e6e260544e310b3ac7c697fbb (diff)
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
-rw-r--r--src/osmo-bsc/osmo_bsc_main.c3
1 files changed, 3 insertions, 0 deletions
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 <osmocom/mgcp_client/mgcp_client.h>
+#include <osmocom/sigtran/xua_msg.h>
+
#define _GNU_SOURCE
#include <getopt.h>
@@ -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");