aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/clone.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-11-26 10:21:58 +0900
committerJunio C Hamano <gitster@pobox.com>2024-11-26 10:21:58 +0900
commitc6c977e82b94a8266a1f24bed6fcddb15bd01d1c (patch)
tree665797668fb1bd2ac1bc0c3a70397d30251f1c01 /builtin/clone.c
parentSync with Git 2.47.1 (diff)
parentt: remove TEST_PASSES_SANITIZE_LEAK annotations (diff)
downloadgit-c6c977e82b94a8266a1f24bed6fcddb15bd01d1c.tar.gz
git-c6c977e82b94a8266a1f24bed6fcddb15bd01d1c.zip
Merge branch 'ps/leakfixes-part-10' into ps/bisect-double-free-fix
* ps/leakfixes-part-10: (27 commits) t: remove TEST_PASSES_SANITIZE_LEAK annotations test-lib: unconditionally enable leak checking t: remove unneeded !SANITIZE_LEAK prerequisites t: mark some tests as leak free t5601: work around leak sanitizer issue git-compat-util: drop now-unused `UNLEAK()` macro global: drop `UNLEAK()` annotation t/helper: fix leaking commit graph in "read-graph" subcommand builtin/branch: fix leaking sorting options builtin/init-db: fix leaking directory paths builtin/help: fix leaks in `check_git_cmd()` help: fix leaking return value from `help_unknown_cmd()` help: fix leaking `struct cmdnames` help: refactor to not use globals for reading config builtin/sparse-checkout: fix leaking sanitized patterns split-index: fix memory leak in `move_cache_to_base_index()` git: refactor builtin handling to use a `struct strvec` git: refactor alias handling to use a `struct strvec` strvec: introduce new `strvec_splice()` function line-log: fix leak when rewriting commit parents ...
Diffstat (limited to 'builtin/clone.c')
-rw-r--r--builtin/clone.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/clone.c b/builtin/clone.c
index c0013c75cd..d3022a185a 100644
--- a/builtin/clone.c
+++ b/builtin/clone.c
@@ -1586,7 +1586,6 @@ int cmd_clone(int argc,
free(dir);
free(path);
free(repo_to_free);
- UNLEAK(repo);
junk_mode = JUNK_LEAVE_ALL;
transport_ls_refs_options_release(&transport_ls_refs_options);