laforge has uploaded this change for review. ( 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(-) git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/30/14830/1 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 c770641..04aa0c6 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: 1 Gerrit-Owner: laforge <lafo...@gnumonks.org> Gerrit-MessageType: newchange