pack-redundant: plug memory leak

Identified via Coverity. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Johannes Schindelin committed May 4, 2017 at 15:56 UTC 077a34e0b9401f9bcea991d850f1111a70e7d3d1
1 file changed +1
builtin/pack-redundant.c
+1
@@ -442,6 +442,7 @@ static void minimize(struct pack_list **min)
442 /* return if there are no objects missing from the unique set */
443 if (missing->size == 0) {
444 *min = unique;
445 + free(missing);
446 return;
447 }
448