prune-packed: fix minor memory leak

We form all of our directories in a strbuf, but never release it. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Sep 13, 2014 at 16:16 UTC 1cc2c772dd4dc5f9396a229e2727ca28ef25c33b
1 file changed +1
builtin/prune-packed.c
+1
@@ -68,6 +68,7 @@ void prune_packed_objects(int opts)
68 rmdir(pathname.buf);
69 }
70 stop_progress(&progress);
71 + strbuf_release(&pathname);
72 }
73
74 int cmd_prune_packed(int argc, const char **argv, const char *prefix)