Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 136e55f + 9d4c550 commit 9903482Copy full SHA for 9903482
src/libgit2/repository.c
@@ -153,7 +153,9 @@ int git_repository__cleanup(git_repository *repo)
153
git_cache_clear(&repo->objects);
154
git_attr_cache_flush(repo);
155
git_grafts_free(repo->grafts);
156
+ repo->grafts = NULL;
157
git_grafts_free(repo->shallow_grafts);
158
+ repo->shallow_grafts = NULL;
159
160
set_config(repo, NULL);
161
set_index(repo, NULL);
0 commit comments