From 4f971852d5b06d61e7a8782edd76bea876e79ed8 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Wed, 28 Oct 2015 10:15:24 +0100 Subject: [PATCH] repository: plug memory leak cc @carlosmn --- src/repository.c | 1 + 1 file changed, 1 insertion(+) 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;