Author: dchapyshev
Date: Mon Aug 1 11:29:01 2016
New Revision: 72070
URL:
http://svn.reactos.org/svn/reactos?rev=72070&view=rev
Log:
[SHELL32]
- Fixed memory leak
[DNSLIB]
- Fixed uninitialized variable
[USERENV]
- Fixed typo
Modified:
trunk/reactos/dll/win32/shell32/shelldesktop/CDesktopBrowser.cpp
trunk/reactos/dll/win32/userenv/environment.c
trunk/reactos/sdk/lib/dnslib/straddr.c
Modified: trunk/reactos/dll/win32/shell32/shelldesktop/CDesktopBrowser.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shelldes…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shelldesktop/CDesktopBrowser.cpp [iso-8859-1]
(original)
+++ trunk/reactos/dll/win32/shell32/shelldesktop/CDesktopBrowser.cpp [iso-8859-1] Mon Aug
1 11:29:01 2016
@@ -179,6 +179,7 @@
if (FAILED(hRet))
{
pThis->Release();
+ delete pThis;
return NULL;
}
Modified: trunk/reactos/dll/win32/userenv/environment.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/userenv/environm…
==============================================================================
--- trunk/reactos/dll/win32/userenv/environment.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/userenv/environment.c [iso-8859-1] Mon Aug 1 11:29:01 2016
@@ -463,7 +463,7 @@
FALSE);
}
- /* Set variables from System Manager */
+ /* Set variables from Session Manager */
SetUserEnvironment(lpEnvironment,
HKEY_LOCAL_MACHINE,
L"System\\CurrentControlSet\\Control\\Session
Manager\\Environment");
Modified: trunk/reactos/sdk/lib/dnslib/straddr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/dnslib/straddr.c?r…
==============================================================================
--- trunk/reactos/sdk/lib/dnslib/straddr.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/dnslib/straddr.c [iso-8859-1] Mon Aug 1 11:29:01 2016
@@ -170,7 +170,7 @@
ULONG AddrSize = *AddressSize;
IN6_ADDR Addr;
BOOLEAN Return;
- INT ErrorCode;
+ INT ErrorCode = ERROR_SUCCESS;
CHAR AnsiName[INET6_ADDRSTRLEN + sizeof("ip6.arpa.")];
ULONG Size = sizeof(AnsiName);