Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Release only finished walks, never cgit's mailmap
release_revisions frees revs->mailmap, and the log page points it at the static list cgit_mailmap returns, so every log of a repository with enable-mailmap aborted. A walk whose setup failed holds commits that are already freed, so releasing it could free them twice.
Diffstat (limited to 'source')
-rw-r--r--source/ui-log.c4
-rw-r--r--source/ui-patch.c1
-rw-r--r--source/ui-shared.h2
-rw-r--r--source/ui-stats.c1
4 files changed, 4 insertions, 4 deletions