1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-09 21:56:07 +02:00
git/trace2
Ævar Arnfjörð Bjarmason 48f68715b1 tr2: stop leaking "thread_name" memory
Fix a memory leak introduced in ee4512ed48 (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>
2021-09-07 11:07:59 -07:00
..
tr2_cfg.c
tr2_cfg.h
tr2_cmd_name.c
tr2_cmd_name.h
tr2_dst.c
tr2_dst.h
tr2_sid.c
tr2_sid.h
tr2_sysenv.c
tr2_sysenv.h
tr2_tbuf.c
tr2_tbuf.h
tr2_tgt.h tr2: log parent process name 2021-07-22 13:35:20 -07:00
tr2_tgt_event.c tr2: log parent process name 2021-07-22 13:35:20 -07:00
tr2_tgt_normal.c tr2: log parent process name 2021-07-22 13:35:20 -07:00
tr2_tgt_perf.c tr2: log parent process name 2021-07-22 13:35:20 -07:00
tr2_tls.c tr2: stop leaking "thread_name" memory 2021-09-07 11:07:59 -07:00
tr2_tls.h