diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-08-27 10:02:15 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-07 11:07:59 -0700 |
commit | 48f68715b14b47395a5cd63568a9a29beea8aa6f (patch) | |
tree | bdafdfffb48e690769d0c648dab65478963034e1 /t/t4048-diff-combined-binary.sh | |
parent | tr2: clarify TRACE2_PROCESS_INFO_EXIT comment under Linux (diff) | |
download | tgif-48f68715b14b47395a5cd63568a9a29beea8aa6f.tar.xz |
tr2: stop leaking "thread_name" memory
Fix a memory leak introduced in ee4512ed481 (trace2: create new
combined trace facility, 2019-02-22), we were doing a free() of other
memory allocated in tr2tls_create_self(), but not the "thread_name"
"struct strbuf".
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Acked-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4048-diff-combined-binary.sh')
0 files changed, 0 insertions, 0 deletions