[SHELL32]

- Fixed memory leak

[DNSLIB]
- Fixed uninitialized variable

[USERENV]
- Fixed typo

svn path=/trunk/; revision=72070
This commit is contained in:
Dmitry Chapyshev 2016-08-01 11:29:01 +00:00
parent 21652b5c7f
commit 5cb1fd2dda
3 changed files with 3 additions and 2 deletions

View file

@ -179,6 +179,7 @@ static CDesktopBrowser *SHDESK_Create(HWND hWnd, LPCREATESTRUCT lpCreateStruct)
if (FAILED(hRet))
{
pThis->Release();
delete pThis;
return NULL;
}

View file

@ -463,7 +463,7 @@ CreateEnvironmentBlock(LPVOID *lpEnvironment,
FALSE);
}
/* Set variables from System Manager */
/* Set variables from Session Manager */
SetUserEnvironment(lpEnvironment,
HKEY_LOCAL_MACHINE,
L"System\\CurrentControlSet\\Control\\Session Manager\\Environment");

View file

@ -170,7 +170,7 @@ Dns_StringToAddressEx(OUT PVOID Address,
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);