Commit 69903777 by Vicent Martí

Merge pull request #1368 from scunz/inc_ref

Increment reference counter in git_repository_set_config
parents 3e212548 25e7c9b7
......@@ -553,6 +553,7 @@ void git_repository_set_config(git_repository *repo, git_config *config)
repo->_config = config;
GIT_REFCOUNT_OWN(repo->_config, repo);
GIT_REFCOUNT_INC(repo->_config);
}
int git_repository_odb__weakptr(git_odb **out, git_repository *repo)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment