aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/diff.c
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 /builtin/diff.c
parentbuiltin/init-db: fix leaking directory paths (diff)
downloadgit-b97301c13c758f168019129fc888e6492c046752.tar.gz
git-b97301c13c758f168019129fc888e6492c046752.zip
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 'builtin/diff.c')
0 files changed, 0 insertions, 0 deletions