aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-08-16 19:09:21 +0200
committerHarald Welte <laforge@gnumonks.org>2018-08-17 07:06:37 +0000
commit060a6c4d972b73a9e31f8d8bd13b67fd4d0b9a99 (patch)
treee2b0d19793d301edcd21a51651c847d2c61ef32f
parent381370b82ae1f2dd3b62770b72b028c576f7b9c3 (diff)
msc: Set talloc ctx for osmo_signal structures
Otherwise they end up in the NULL ctx. Depends: libosmocore Change-Id Id58ca18eb826b8f4183a7cf0dbb2b38cba702a09 Change-Id: I5d5b456eb85fbdb0ca2140c56ebf3d207b4a0bba
-rw-r--r--src/osmo-msc/msc_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c
index 1a10278b0..f87a95ef3 100644
--- a/src/osmo-msc/msc_main.c
+++ b/src/osmo-msc/msc_main.c
@@ -530,6 +530,7 @@ int main(int argc, char **argv)
msc_vty_info.tall_ctx = tall_msc_ctx;
msgb_talloc_ctx_init(tall_msc_ctx, 0);
+ osmo_signal_talloc_ctx_init(tall_msc_ctx);
tall_gsms_ctx = talloc_named_const(tall_msc_ctx, 0, "sms");
tall_call_ctx = talloc_named_const(tall_msc_ctx, 0, "gsm_call");
tall_trans_ctx = talloc_named_const(tall_msc_ctx, 0, "transaction");