mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-11 12:09:07 +00:00
repository: plug memory leak
cc @carlosmn
This commit is contained in:
parent
1e5e02b4f4
commit
4f971852d5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user