mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Fix a leak that's been with us since3407bb4940(Add "unpack-file" helper that unpacks a sha1 blob into a tmpfile., 2005-04-18). See00c8fd493a(cat-file: use streaming API to print blobs, 2012-03-07) for prior art which shows the same API pattern, i.e. free()-ing the result of read_object_file() after it's used. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Taylor Blau <me@ttaylorr.com>
1.1 KiB
Executable File
1.1 KiB
Executable File