diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-11-20 14:39:48 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-11-21 08:23:45 +0900 |
commit | b97301c13c758f168019129fc888e6492c046752 (patch) | |
tree | de175b3f718723c29540f67570aee280a8d1e113 /git-gui/lib/commit.tcl | |
parent | 8ef15c205b5ecf56c7e0e9bd6d53999c1ad10f89 (diff) |
builtin/branch: fix leaking sorting options
The sorting options are leaking, but given that they are marked with
`UNLEAK()` the leak sanitizer doesn't complain.
Fix the leak by creating a common exit path and clearing the vector such
that we can get rid of the `UNLEAK()` annotation entirely.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions