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 <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-MessageType: merged