Change in osmo-msc[master]: msc: Set talloc ctx for osmo_signal structures

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Fri Aug 17 08:05:42 UTC 2018


Pau Espin Pedrol has submitted this change and it was merged. ( https://gerrit.osmocom.org/10482 )

Change subject: msc: Set talloc ctx for osmo_signal structures
......................................................................

msc: Set talloc ctx for osmo_signal structures

Otherwise they end up in the NULL ctx.

Depends: libosmocore Change-Id Id58ca18eb826b8f4183a7cf0dbb2b38cba702a09

Change-Id: I5d5b456eb85fbdb0ca2140c56ebf3d207b4a0bba
---
M src/osmo-msc/msc_main.c
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c
index 1a10278..f87a95e 100644
--- a/src/osmo-msc/msc_main.c
+++ b/src/osmo-msc/msc_main.c
@@ -530,6 +530,7 @@
 	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");

-- 
To view, visit https://gerrit.osmocom.org/10482
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I5d5b456eb85fbdb0ca2140c56ebf3d207b4a0bba
Gerrit-Change-Number: 10482
Gerrit-PatchSet: 2
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180817/3f167806/attachment.htm>


More information about the gerrit-log mailing list