bendns' repos
/
cgit
the repository which powers this website
themed
1
Branch
0
Tags
Code
Clone
HTTPS
SSH
Open with VS Code
Diffstat
(limited to 'ui-tree.c')
-rw-r--r--
ui-tree.c
1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui-tree.c b/ui-tree.c
index 1b310d53..d71503da 100644
--- a/
ui-tree.c
+++ b/
ui-tree.c
@@ -143,6 +143,7 @@ static int ls_item(const unsigned char *sha1, struct strbuf *base,
htmlf("<tr><td colspan='3'>Bad object: %s %s</td></tr>",
name,
sha1_to_hex(sha1));
+ free(name);
return 0;
}
}