laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-remsim/+/16592 )

Change subject: client: Enable talloc NULL context tracking
......................................................................

client: Enable talloc NULL context tracking

Change-Id: I41ac5437e9262cf9e5a6e92db9b733902c91755b
---
M src/simtrace2-remsim_client.c
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/simtrace2-remsim_client.c b/src/simtrace2-remsim_client.c
index 79eb32b..077275a 100644
--- a/src/simtrace2-remsim_client.c
+++ b/src/simtrace2-remsim_client.c
@@ -809,6 +809,8 @@
 {
        OSMO_ASSERT(signal == SIGUSR1);
        talloc_report_full(g_tall_ctx, stderr);
+       printf("===== NULL\n");
+       talloc_report_full(NULL, stderr);
 }

 static void print_welcome(void)
@@ -1000,6 +1002,7 @@

        print_welcome();

+       talloc_enable_null_tracking();
        g_tall_ctx = talloc_named_const(NULL, 0, "global");
        talloc_asn1_ctx = talloc_named_const(g_tall_ctx, 0, "asn1");
        msgb_talloc_ctx_init(g_tall_ctx, 0);

--
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/16592
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: I41ac5437e9262cf9e5a6e92db9b733902c91755b
Gerrit-Change-Number: 16592
Gerrit-PatchSet: 6
Gerrit-Owner: laforge <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-MessageType: merged

Reply via email to