X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/4e4b30effb773e8cb0c9c23fd664a11bbe5b4076..4dee601bb6042cf7db2472b9c34530850345f680:/ui-atom.c diff --git a/ui-atom.c b/ui-atom.c index 541660d..5f4ad7d 100644 --- a/ui-atom.c +++ b/ui-atom.c @@ -149,8 +149,7 @@ void cgit_print_atom(char *tip, const char *path, int max_count) first = false; } add_entry(commit, host); - free_commit_buffer(the_repository->parsed_objects, commit); - free_commit_list(commit->parents); + release_commit_memory(the_repository->parsed_objects, commit); commit->parents = NULL; } html("\n");