diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-09-26 13:46:45 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-09-27 08:25:36 -0700 |
commit | 64d9adafba5b3024414760838d9d81f68738e813 (patch) | |
tree | d8a890b1e1a6ff6120feb0f9f9567113acfe1369 /builtin/annotate.c | |
parent | 7f795a17154a2aeb80a7f52bfdaeef14fe298d68 (diff) |
trace2: destroy context stored in thread-local storage
Each thread may have a specific context in the trace2 subsystem that we
set up via thread-local storage. We do not set up a destructor for this
data though, which means that the context data will leak.
Plug this leak by installing a destructor. This leak is exposed by
t7814, but plugging it alone does not make the whole test suite pass.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/annotate.c')
0 files changed, 0 insertions, 0 deletions