commit | e8c560163fef140523e4046f843770df9966fccd | [log] [tgz] |
---|---|---|
author | Ivan Zhakov <ivan@apache.org> | Thu May 16 18:11:27 2019 +0000 |
committer | Ivan Zhakov <ivan@apache.org> | Thu May 16 18:11:27 2019 +0000 |
tree | a7dae646ce548f1542b6760ef61a17f964469f67 | |
parent | 17cd705eda9b0f4eba514f89fbaebd5fa4461582 [diff] |
Fix issue 61109: Use LocalFree() instead of GlobalFree() to free result of CommandLineToArgvW(). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1859402 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/misc/win32/start.c b/misc/win32/start.c index 2d7b5ff..ea8b964 100644 --- a/misc/win32/start.c +++ b/misc/win32/start.c
@@ -127,7 +127,7 @@ wstrs = CommandLineToArgvW(sysstr, &wstrc); if (wstrs) { *argc = apr_wastrtoastr(argv, wstrs, wstrc); - GlobalFree(wstrs); + LocalFree(wstrs); } }