diff options
author | Ivan Zhakov <ivan@apache.org> | 2019-05-16 18:11:27 +0000 |
---|---|---|
committer | Ivan Zhakov <ivan@apache.org> | 2019-05-16 18:11:27 +0000 |
commit | 861d816d08dae076b26ff875031fcbc3326e4493 (patch) | |
tree | a7dae646ce548f1542b6760ef61a17f964469f67 | |
parent | 39c1e22fe535ab0ee0134539c3fcc6b08529e2a6 (diff) | |
download | apr-861d816d08dae076b26ff875031fcbc3326e4493.tar.gz |
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
-rw-r--r-- | misc/win32/start.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/win32/start.c b/misc/win32/start.c index 2d7b5ff8f..ea8b964ac 100644 --- a/misc/win32/start.c +++ b/misc/win32/start.c @@ -127,7 +127,7 @@ APR_DECLARE(apr_status_t) apr_app_initialize(int *argc, wstrs = CommandLineToArgvW(sysstr, &wstrc); if (wstrs) { *argc = apr_wastrtoastr(argv, wstrs, wstrc); - GlobalFree(wstrs); + LocalFree(wstrs); } } |