diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2002-09-15 21:35:22 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2002-09-15 21:35:22 +0000 |
commit | 1f3739440f8f75a07173ac67b336bb75c2200fee (patch) | |
tree | 595a6986e20cf555952ac20556a78057ab204313 /misc | |
parent | 20bd7485b70eb47cf6d3d1bd77f05f6edbcbfc3b (diff) | |
download | apr-1f3739440f8f75a07173ac67b336bb75c2200fee.tar.gz |
Kill a small and mostly insignificant leak.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63869 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc')
-rw-r--r-- | misc/win32/start.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/win32/start.c b/misc/win32/start.c index 64a0b0dee..e81e87c26 100644 --- a/misc/win32/start.c +++ b/misc/win32/start.c @@ -173,6 +173,8 @@ APR_DECLARE(apr_status_t) apr_app_initialize(int *argc, else { } + FreeEnvironmentStringsW(sysstr); + /* MSVCRT will attempt to maintain the wide environment calls * on _putenv(), which is bogus if we've passed a non-ascii * string to _putenv(), since they use MultiByteToWideChar |