]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/init-db: fix leaking directory paths
authorPatrick Steinhardt <ps@pks.im>
Wed, 20 Nov 2024 13:39:47 +0000 (14:39 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Nov 2024 23:23:45 +0000 (08:23 +0900)
commit8ef15c205b5ecf56c7e0e9bd6d53999c1ad10f89
tree31173bba749f71db5f3857a6c87cc996bbf3097d
parent2379b5c90038b2c334ff62cce62d50b4a8e78360
builtin/init-db: fix leaking directory paths

We've got a couple of leaking directory paths in git-init(1), all of
which are marked with `UNLEAK()`. Fixing them is trivial, so let's do
that instead so that we can get rid of `UNLEAK()` entirely.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/init-db.c