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
Thu Aug 16 17:09:52 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/82/10482/1

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: newchange
Gerrit-Change-Id: I5d5b456eb85fbdb0ca2140c56ebf3d207b4a0bba
Gerrit-Change-Number: 10482
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180816/799a24e3/attachment.htm>


More information about the gerrit-log mailing list