diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-05-27 13:47:13 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-05-27 20:20:02 +0200 |
commit | 9fcd9e4e72ff2ef2b96379d8caf03429fea279eb (patch) | |
tree | 6a63b8f6d6d0a27c6a04aa9a8b89559df872eb8a /Documentation/asciidoctor-extensions.rb | |
parent | builtin/mv: refactor `add_slash()` to always return allocated strings (diff) | |
download | git-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 'Documentation/asciidoctor-extensions.rb')
0 files changed, 0 insertions, 0 deletions