aboutsummaryrefslogtreecommitdiffstats
path: root/diffcore-rotate.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-09-30 11:13:30 +0200
committerJunio C Hamano <gitster@pobox.com>2024-09-30 11:23:04 -0700
commit64fe1e4a8c8731919b0bb26f6e8b9f8a0f4b0477 (patch)
tree2a1e2b7ba2530df32dcf039f029b48c6c467c144 /diffcore-rotate.c
parentsubmodule: fix leaking submodule entry list (diff)
downloadgit-64fe1e4a8c8731919b0bb26f6e8b9f8a0f4b0477.tar.gz
git-64fe1e4a8c8731919b0bb26f6e8b9f8a0f4b0477.zip
builtin/stash: fix leaking `pathspec_from_file`
The `OPT_PATHSPEC_FROM_FILE()` option maps to `OPT_FILENAME()`, which we know will always allocate memory when passed. We never free the memory though, causing a memory leak. Plug it. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-rotate.c')
0 files changed, 0 insertions, 0 deletions