diff options
author | John Keeping <john@keeping.me.uk> | 2013-05-18 18:28:14 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-05-18 19:45:28 +0200 |
commit | f75900b04f73725c00abb46405b51ade59313ecc (patch) | |
tree | 9c7e90aabe09418b43fbb41c99bb4965d1e7e14e /ui-repolist.c | |
parent | t0109: "function" is a bash-ism (diff) | |
download | cgit-pink-f75900b04f73725c00abb46405b51ade59313ecc.tar.gz cgit-pink-f75900b04f73725c00abb46405b51ade59313ecc.zip |
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 <john@keeping.me.uk>
Diffstat (limited to 'ui-repolist.c')
0 files changed, 0 insertions, 0 deletions