Harald Welte has submitted this change and it was merged. ( 
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(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



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: merged
Gerrit-Change-Id: If5c349082757bb30408477b1ef528934eded0232
Gerrit-Change-Number: 10206
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to