X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/93d8ef8f1de4385c565049e1ccd7fdd25e6c14d7..865afe0eb1b5e6485fe0f65472e6635266e393b1:/ui-atom.c diff --git a/ui-atom.c b/ui-atom.c index b22d745..e2b39ee 100644 --- a/ui-atom.c +++ b/ui-atom.c @@ -133,8 +133,7 @@ void cgit_print_atom(char *tip, char *path, int max_count) } 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; }