summaryrefslogtreecommitdiffstats
path: root/wrapper.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-05-27 13:47:13 +0200
committerJunio C Hamano <gitster@pobox.com>2024-05-27 20:20:02 +0200
commit9fcd9e4e72ff2ef2b96379d8caf03429fea279eb (patch)
tree6a63b8f6d6d0a27c6a04aa9a8b89559df872eb8a /wrapper.c
parentbuiltin/mv: refactor `add_slash()` to always return allocated strings (diff)
downloadgit-9fcd9e4e72ff2ef2b96379d8caf03429fea279eb.tar.xz
git-9fcd9e4e72ff2ef2b96379d8caf03429fea279eb.zip
builtin/mv duplicate string list memory
makes the next patch easier, where we will migrate to the paths being owned by a strvec. given that we are talking about command line parameters here it's also not like we have tons of allocations that this would save while at it, fix a memory leak Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wrapper.c')
0 files changed, 0 insertions, 0 deletions