summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-10-07 00:35:29 +0100
committerGitHub <noreply@github.com>2020-10-07 00:35:29 +0100
commit9deadaee44dfc1d0e3c49b058e023df396096789 (patch)
tree8b188d92b8aff181cb1f14a2278c6b7c8f71da5f
parentd32a4072371d6143b8a8baf1a8eb2652ca8e2ce3 (diff)
parentcce966c3d8ee9a6175fc21f8ecc580fd6d19ee6e (diff)
downloadlibgit2-9deadaee44dfc1d0e3c49b058e023df396096789.tar.gz
Merge pull request #5654 from dan-tull/master
Change bare free to allocator free (fixes #5653)
-rw-r--r--src/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path.c b/src/path.c
index 0d0b40f9c..f271c532c 100644
--- a/src/path.c
+++ b/src/path.c
@@ -2045,7 +2045,7 @@ int git_path_validate_system_file_ownership(const char *path)
git_error_set(GIT_ERROR_INVALID, "programdata configuration file owner is not valid");
ret = GIT_ERROR;
}
- free(info);
+ git__free(info);
cleanup:
if (descriptor)