object_array: factor out slopbuf-freeing logic
commit68f492359e29bbdf633201406d0646deee2b298c
authorJeff King <peff@peff.net>
Wed, 15 Oct 2014 22:34:19 +0000 (15 18:34 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Oct 2014 17:10:36 +0000 (16 10:10 -0700)
tree77fc3612755a3e8ee475f812cba20f4df1cbb057
parent50a71776ab14c63c72c86e3ce1529052bcb2634a
object_array: factor out slopbuf-freeing logic

This is not a lot of code, but it's a logical construct that
should not need to be repeated (and we are about to add a
third repetition).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object.c