mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 18:38:36 +08:00
gj_common: git_repository_state_cleanup cannot be called with repo = 0
This commit is contained in:
@ -636,6 +636,7 @@ cleanup:
|
||||
git_commit_free(head_commit);
|
||||
git_commit_free(origin_head_commit);
|
||||
git_signature_free(sig);
|
||||
if (repo != 0)
|
||||
git_repository_state_cleanup(repo);
|
||||
git_index_conflict_iterator_free(conflict_iter);
|
||||
git_index_free(index);
|
||||
|
Reference in New Issue
Block a user