cat-file: fix a minor memory leak in batch_objects
commit648027c4c85bbfdcf0663ff51e55425aefac14a9
authorJeff King <peff@peff.net>
Tue, 7 Jan 2014 22:10:35 +0000 (7 17:10 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Jan 2014 22:31:52 +0000 (7 14:31 -0800)
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 <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/cat-file.c