summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index a4445cac0..2b3e53589 100644
--- a/src/config.c
+++ b/src/config.c
@@ -352,7 +352,6 @@ static int win32_find_system(char *system_config_path)
return GIT_ENOMEM;
ret = ExpandEnvironmentStringsW(query, apphome_utf16, size);
- free(query_utf16);
if (ret == 0 || ret >= size)
return git__throw(GIT_ERROR, "Failed to expand environment strings");