Change in ...osmo-remsim[master]: remsim_client: Enable talloc tracking of msgb allocations

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
Thu Jul 18 17:13:57 UTC 2019


laforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-remsim/+/14830 )

Change subject: remsim_client: Enable talloc tracking of msgb allocations
......................................................................

remsim_client: Enable talloc tracking of msgb allocations

Change-Id: I45f90f1a841b5b1f29bdb41671085eeebf934a6f
---
M src/remsim_client.c
M src/simtrace2-remsim_client.c
2 files changed, 2 insertions(+), 0 deletions(-)

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



diff --git a/src/remsim_client.c b/src/remsim_client.c
index de926f7..88ac4cd 100644
--- a/src/remsim_client.c
+++ b/src/remsim_client.c
@@ -230,6 +230,7 @@
 
 	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);
 
 	osmo_init_logging2(g_tall_ctx, &log_info);
 
diff --git a/src/simtrace2-remsim_client.c b/src/simtrace2-remsim_client.c
index d30965a..9bedf71 100644
--- a/src/simtrace2-remsim_client.c
+++ b/src/simtrace2-remsim_client.c
@@ -818,6 +818,7 @@
 
 	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);
 	osmo_init_logging2(g_tall_ctx, &log_info);
 
 	rc = libusb_init(NULL);

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

Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: I45f90f1a841b5b1f29bdb41671085eeebf934a6f
Gerrit-Change-Number: 14830
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190718/d852d596/attachment.htm>


More information about the gerrit-log mailing list