Commit 4f971852 by Vicent Marti

repository: plug memory leak

cc @carlosmn
parent 1e5e02b4
......@@ -689,6 +689,7 @@ int git_repository_config__weakptr(git_config **out, git_repository *repo)
git_buf_free(&global_buf);
git_buf_free(&xdg_buf);
git_buf_free(&system_buf);
git_buf_free(&programdata_buf);
}
*out = repo->_config;
......
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