neels has submitted this change. ( 
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(-)

Approvals:
  pespin: Looks good to me, approved
  msuraev: Looks good to me, but someone else must approve
  Jenkins Builder: Verified




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: 2
Gerrit-Owner: neels <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: msuraev <[email protected]>
Gerrit-Reviewer: neels <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to