From: John Keeping Date: Sat, 18 May 2013 17:28:14 +0000 (+0100) Subject: cache.c: fix cache_ls X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/f75900b04f73725c00abb46405b51ade59313ecc?ds=inline;hp=f75900b04f73725c00abb46405b51ade59313ecc cache.c: fix cache_ls Commit fb3655d (use struct strbuf instead of static buffers, 2013-04-06) broke the logic in cache.c::cache_ls by failing to set slot->cache_name before calling open_slot. While fixing this, also free the strbufs added by that commit once we're done with them. Signed-off-by: John Keeping ---