]> git.ipfire.org Git - thirdparty/git.git/commit
sparse-checkout: fix a couple minor memory leaks
authorElijah Newren <newren@gmail.com>
Fri, 28 Jan 2022 01:58:18 +0000 (01:58 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Jan 2022 21:09:55 +0000 (13:09 -0800)
commit0f03f04c5c24239bafbb4ce1a9dd73d602d052cb
tree6d5d85298fe9bea4363f3ef637f4d30b2ca7a62a
parent55dfcf9591b088ce60ec80eb5425dda18223cac0
sparse-checkout: fix a couple minor memory leaks

These were introduced in commit 55dfcf9591 ("sparse-checkout: clear
tracked sparse dirs", 2021-09-08) and missed in my review at the time.
Plug the leaks.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/sparse-checkout.c