msc: Set talloc ctx for osmo_signal structures

Otherwise they end up in the NULL ctx.

Depends: libosmocore Change-Id Id58ca18eb826b8f4183a7cf0dbb2b38cba702a09

Change-Id: I5d5b456eb85fbdb0ca2140c56ebf3d207b4a0bba
This commit is contained in:
Pau Espin 2018-08-16 19:09:21 +02:00 committed by Harald Welte
parent 381370b82a
commit 060a6c4d97
1 changed files with 1 additions and 0 deletions

View File

@ -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");