cat-file: fix a minor memory leak in batch_objects
authorJeff King <redacted>
Tue, 7 Jan 2014 22:10:35 +0000 (17:10 -0500)
committerJunio C Hamano <redacted>
Tue, 7 Jan 2014 22:31:52 +0000 (14:31 -0800)
commit648027c4c85bbfdcf0663ff51e55425aefac14a9
tree0fda9e66db11f75bf42925e437bf2b81ce745d27
parent07e23839459465c1319c7ce91afaf01d3e31a97e
cat-file: fix a minor memory leak in batch_objects

We should always have been freeing our strbuf, but doing so
consistently was annoying until the refactoring in the
previous patch.

Signed-off-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/cat-file.c
git clone https://git.99rst.org/PROJECT