diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2018-07-28 02:22:29 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2018-07-28 02:22:29 +0700 |
commit | 488f92d8b869ffa626b83ff75ed93989a43e0732 (patch) | |
tree | d56904b2ebe14622d459ec0463fcfdccfeee7f7d /src/host/trxcon | |
parent | 8f6909a94f14be583e57044d13a45ded5eaf3d2c (diff) |
trxcon: make both Valgrind and trxcon happy
Change-Id: If5c349082757bb30408477b1ef528934eded0232
Diffstat (limited to 'src/host/trxcon')
-rw-r--r-- | src/host/trxcon/trxcon.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/host/trxcon/trxcon.c b/src/host/trxcon/trxcon.c index c7468169..84d132e0 100644 --- a/src/host/trxcon/trxcon.c +++ b/src/host/trxcon/trxcon.c @@ -320,6 +320,11 @@ exit: * 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; } |