X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/f60ffa143cca61e9729ac71033e1a556cf422871..97da17b783697b4c5430f130ab449121d0692530:/ui-atom.c diff --git a/ui-atom.c b/ui-atom.c index b22d745..d7138fb 100644 --- a/ui-atom.c +++ b/ui-atom.c @@ -125,16 +125,17 @@ void cgit_print_atom(char *tip, char *path, int max_count) html_txt(ctx.repo->desc); html("\n"); if (host) { + char *repourl = cgit_repourl(ctx.repo->url); html("\n"); + free(repourl); } while ((commit = get_revision(&rev)) != NULL) { add_entry(commit, host); - free(commit->buffer); - commit->buffer = NULL; + free_commit_buffer(commit); free_commit_list(commit->parents); commit->parents = NULL; }