neels has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-hnbgw/+/32522 )
Change subject: place asn1 context under hnb_ctx for better visibility
......................................................................
place asn1 context under hnb_ctx for better visibility
Include talloc_asn1_context in 'show talloc-context application'. It
belongs there IMO.
Related: SYS#6297
Change-Id: Iffc320c64713b225b57211da4fb95a868bf1f369
---
M src/osmo-hnbgw/hnbgw.c
1 file changed, 14 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/22/32522/1
diff --git a/src/osmo-hnbgw/hnbgw.c b/src/osmo-hnbgw/hnbgw.c
index 50ada60..4885a2c 100644
--- a/src/osmo-hnbgw/hnbgw.c
+++ b/src/osmo-hnbgw/hnbgw.c
@@ -732,7 +732,7 @@
talloc_enable_null_tracking();
tall_hnb_ctx = talloc_named_const(NULL, 0, "hnb_context");
- talloc_asn1_ctx = talloc_named_const(NULL, 1, "asn1_context");
+ talloc_asn1_ctx = talloc_named_const(tall_hnb_ctx, 1, "asn1_context");
msgb_talloc_ctx_init(tall_hnb_ctx, 0);
g_hnb_gw = hnb_gw_create(tall_hnb_ctx);
--
To view, visit
https://gerrit.osmocom.org/c/osmo-hnbgw/+/32522
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: Iffc320c64713b225b57211da4fb95a868bf1f369
Gerrit-Change-Number: 32522
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: newchange