]> git.ipfire.org Git - thirdparty/git.git/commit
pack-bitmap: introduce `bitmap_writer_free()`
authorTaylor Blau <me@ttaylorr.com>
Tue, 14 May 2024 19:57:06 +0000 (15:57 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 May 2024 13:53:46 +0000 (06:53 -0700)
commit85f360fee53933d230fd231db5306b26809fabcf
treefa1e634ca5ca69ec0eddeb44b3d132ff6aeba37e
parentf25e1f2a4d48c6d8bfd659338d4415c7ef4df533
pack-bitmap: introduce `bitmap_writer_free()`

Now that there is clearer memory ownership around the bitmap_writer
structure, introduce a bitmap_writer_free() function that callers may
use to free any memory associated with their instance of the
bitmap_writer structure.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-objects.c
midx-write.c
pack-bitmap-write.c
pack-bitmap.h