summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-09-27 20:08:13 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2011-09-27 20:08:15 +0200
commita5b0e7f8bc42e3eca72dd82ff000eb6eb92ef897 (patch)
tree36dff9fb1bc57c164023089e366c716f489544e9 /src
parent887eaf4dc9b6f870b021ad88c881d5fcc6ccf4d1 (diff)
downloadlibgit2-a5b0e7f8bc42e3eca72dd82ff000eb6eb92ef897.tar.gz
Really fix MSVC
These was left over from the previous PRs. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
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");