diff options
| author | Jeff King <peff@peff.net> | 2023-10-07 13:20:31 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-10-09 10:27:34 -0700 |
| commit | c1b754d0597be83439ecc8de2a59a90f35cd4040 (patch) | |
| tree | 33582fcd92cb5745c55304edf4877eaa39dbdb62 /commit.c | |
| parent | builtin/repack.c: avoid making cruft packs preferred (diff) | |
| download | git-c1b754d0597be83439ecc8de2a59a90f35cd4040.tar.gz git-c1b754d0597be83439ecc8de2a59a90f35cd4040.zip | |
repack: free existing_cruft array after use
We allocate an array of packed_git pointers so that we can sort the list
of cruft packs, but we never free the array, causing a small leak. Note
that we don't need to free the packed_git structs themselves; they're
owned by the repository object.
Signed-off-by: Jeff King <peff@peff.net>
Acked-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
