Author: cgutman
Date: Fri Aug 5 04:55:34 2011
New Revision: 53079
URL:
http://svn.reactos.org/svn/reactos?rev=53079&view=rev
Log:
[CRTDLL]
- Free the correct variable in the failure case
Modified:
trunk/reactos/dll/win32/crtdll/dllmain.c
Modified: trunk/reactos/dll/win32/crtdll/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/crtdll/dllmain.c…
==============================================================================
--- trunk/reactos/dll/win32/crtdll/dllmain.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/crtdll/dllmain.c [iso-8859-1] Fri Aug 5 04:55:34 2011
@@ -141,7 +141,7 @@
if (BlockEnvToEnvironW() < 0)
{
- FreeEnvironment((char**)_wenviron);
+ FreeEnvironment((char**)_environ);
return FALSE;
}