Vadim Yanitskiy has uploaded this change for review. (
https://gerrit.osmocom.org/10206
Change subject: trxcon: make both Valgrind and trxcon happy
......................................................................
trxcon: make both Valgrind and trxcon happy
Change-Id: If5c349082757bb30408477b1ef528934eded0232
---
M src/host/trxcon/trxcon.c
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/06/10206/1
diff --git a/src/host/trxcon/trxcon.c b/src/host/trxcon/trxcon.c
index c746816..84d132e 100644
--- a/src/host/trxcon/trxcon.c
+++ b/src/host/trxcon/trxcon.c
@@ -320,6 +320,11 @@
* to be able to find and fix potential memory leaks.
*/
talloc_report_full(tall_trx_ctx, stderr);
+ talloc_free(tall_trx_ctx);
+
+ /* Make both Valgrind and ASAN happy */
+ talloc_report_full(NULL, stderr);
+ talloc_disable_null_tracking();
return rc;
}
--
To view, visit https://gerrit.osmocom.org/10206
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If5c349082757bb30408477b1ef528934eded0232
Gerrit-Change-Number: 10206
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <[email protected]>