diff options
Diffstat (limited to 'ui-refs.c')
-rw-r--r-- | ui-refs.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -205,6 +205,8 @@ void cgit_print_branches(int maxcount) | |||
205 | 205 | ||
206 | if (maxcount < list.count) | 206 | if (maxcount < list.count) |
207 | print_refs_link("heads"); | 207 | print_refs_link("heads"); |
208 | |||
209 | cgit_free_reflist_inner(&list); | ||
208 | } | 210 | } |
209 | 211 | ||
210 | void cgit_print_tags(int maxcount) | 212 | void cgit_print_tags(int maxcount) |
@@ -229,6 +231,8 @@ void cgit_print_tags(int maxcount) | |||
229 | 231 | ||
230 | if (maxcount < list.count) | 232 | if (maxcount < list.count) |
231 | print_refs_link("tags"); | 233 | print_refs_link("tags"); |
234 | |||
235 | cgit_free_reflist_inner(&list); | ||
232 | } | 236 | } |
233 | 237 | ||
234 | void cgit_print_refs() | 238 | void cgit_print_refs() |