Change in osmo-remsim[master]: client: Enable talloc NULL context tracking

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/.

laforge gerrit-no-reply at lists.osmocom.org
Sat Feb 15 19:13:50 UTC 2020


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 <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200215/e4b72dc6/attachment.htm>


More information about the gerrit-log mailing list