1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-09 14: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 trace2: teach Git to log environment variables 2020-03-23 13:14:53 -07:00
tr2_cfg.h trace2: teach Git to log environment variables 2020-03-23 13:14:53 -07:00
tr2_cmd_name.c trace2: rename environment variables to GIT_TRACE2* 2019-05-28 10:20:34 -07:00
tr2_cmd_name.h
tr2_dst.c Merge branch 'ab/trace2-squelch-gcc-warning' 2021-06-14 13:33:28 +09:00
tr2_dst.h trace2: write discard message to sentinel files 2019-10-05 17:53:51 +09:00
tr2_sid.c Fix spelling errors in code comments 2019-11-10 16:00:54 +09:00
tr2_sid.h
tr2_sysenv.c trace2: teach Git to log environment variables 2020-03-23 13:14:53 -07:00
tr2_sysenv.h trace2: teach Git to log environment variables 2020-03-23 13:14:53 -07:00
tr2_tbuf.c trace2: make SIDs more unique 2019-04-16 13:37:07 +09:00
tr2_tbuf.h trace2: make SIDs more unique 2019-04-16 13:37:07 +09:00
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 trace2: refactor setting process starting time 2019-04-16 13:37:06 +09:00