diff options
author | Vicent Marti <tanoku@gmail.com> | 2015-10-28 10:15:24 +0100 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2015-10-28 10:15:24 +0100 |
commit | 4f971852d5b06d61e7a8782edd76bea876e79ed8 (patch) | |
tree | 8b74c9f7667572581c4056eb1e5ea4b2ba4f85c9 /src | |
parent | 1e5e02b4f47779fe3733b1a6ab24a6ca13099ec3 (diff) | |
download | libgit2-4f971852d5b06d61e7a8782edd76bea876e79ed8.tar.gz |
repository: plug memory leak
cc @carlosmn
Diffstat (limited to 'src')
-rw-r--r-- | src/repository.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/repository.c b/src/repository.c index 38d18693a..c61d0e4f0 100644 --- a/src/repository.c +++ b/src/repository.c @@ -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; |