]> git.ipfire.org Git - thirdparty/git.git/commit
shallow: fix leaking members of `struct shallow_info`
authorPatrick Steinhardt <ps@pks.im>
Thu, 5 Sep 2024 10:09:17 +0000 (12:09 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Sep 2024 15:49:12 +0000 (08:49 -0700)
commit16c6fb5a94231e76f618eefc7a683fd12091968a
treed48b6fc0c1be469a03ce7de31258a620289e0ae7
parent14c0ea0f6f7a0898214d8fa822a2392ef3a00f53
shallow: fix leaking members of `struct shallow_info`

We do not free several struct members in `clear_shallow_info()`. Fix
this to plug the resulting leaks.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
shallow.c
t/t5538-push-shallow.sh