| -rw-r--r-- | ui-atom.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -80,7 +80,7 @@ static void add_entry(struct commit *commit, const char *host) void cgit_print_atom(char *tip, char *path, int max_count) { - char *host; + const char *host; const char *argv[] = {NULL, tip, NULL, NULL, NULL}; struct commit *commit; struct rev_info rev; @@ -140,5 +140,4 @@ void cgit_print_atom(char *tip, char *path, int max_count) commit->parents = NULL; } html("</feed>\n"); - free(host); } |