summaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-11-20 14:39:48 +0100
committerJunio C Hamano <gitster@pobox.com>2024-11-21 08:23:45 +0900
commitb97301c13c758f168019129fc888e6492c046752 (patch)
treede175b3f718723c29540f67570aee280a8d1e113 /git-gui/lib/commit.tcl
parent8ef15c205b5ecf56c7e0e9bd6d53999c1ad10f89 (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