]> git.99rst.org Git - git.git/commit
shallow: fix leaking members of `struct shallow_info`
authorPatrick Steinhardt <redacted>
Thu, 5 Sep 2024 10:09:17 +0000 (12:09 +0200)
committerJunio C Hamano <redacted>
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
shallow.c
t/t5538-push-shallow.sh
git clone https://git.99rst.org/PROJECT