summaryrefslogtreecommitdiffabout
path: root/ui-summary.c
Unidiff
Diffstat (limited to 'ui-summary.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-summary.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui-summary.c b/ui-summary.c
index 8ff3642..5ddeee3 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -32,12 +32,13 @@ static int cgit_print_branch_cb(const char *refname, const unsigned char *sha1,
32 html_link_open(url, NULL, NULL); 32 html_link_open(url, NULL, NULL);
33 html_txt(info->subject); 33 html_txt(info->subject);
34 html_link_close(); 34 html_link_close();
35 html("</td><td>"); 35 html("</td><td>");
36 html_txt(info->author); 36 html_txt(info->author);
37 html("</td></tr>\n"); 37 html("</td></tr>\n");
38 cgit_free_commitinfo(info);
38 } else { 39 } else {
39 html("<tr><td>"); 40 html("<tr><td>");
40 html_txt(buf); 41 html_txt(buf);
41 html("</td><td>"); 42 html("</td><td>");
42 htmlf("*** bad ref %s", sha1_to_hex(sha1)); 43 htmlf("*** bad ref %s", sha1_to_hex(sha1));
43 html("</td></tr>\n"); 44 html("</td></tr>\n");