diff --git a/ui-atom.c b/ui-atom.c
index fab4b0f..e186299 100644
--- a/ui-atom.c
+++ b/ui-atom.c
@@ -53,14 +53,17 @@ static void add_entry(struct commit *commit, const char *host)
cgit_print_date(info->author_date, FMT_ATOMDATE, 0);
html("\n");
if (host) {
+ char *pageurl;
html("\n");
+ free(pageurl);
}
htmlf("%s\n", hex);
html("\n");