aboutsummaryrefslogtreecommitdiffstats
path: root/ui-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-tree.c')
-rw-r--r--ui-tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui-tree.c b/ui-tree.c
index 1b310d5..d71503d 100644
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -143,6 +143,7 @@ static int ls_item(const unsigned char *sha1, struct strbuf *base,
143 htmlf("<tr><td colspan='3'>Bad object: %s %s</td></tr>", 143 htmlf("<tr><td colspan='3'>Bad object: %s %s</td></tr>",
144 name, 144 name,
145 sha1_to_hex(sha1)); 145 sha1_to_hex(sha1));
146 free(name);
146 return 0; 147 return 0;
147 } 148 }
148 } 149 }