mirror of
https://github.com/reactos/reactos.git
synced 2025-06-05 17:30:32 +00:00
[SHELL32]
- Fixed memory leak [DNSLIB] - Fixed uninitialized variable [USERENV] - Fixed typo svn path=/trunk/; revision=72070
This commit is contained in:
parent
21652b5c7f
commit
5cb1fd2dda
3 changed files with 3 additions and 2 deletions
|
@ -179,6 +179,7 @@ static CDesktopBrowser *SHDESK_Create(HWND hWnd, LPCREATESTRUCT lpCreateStruct)
|
|||
if (FAILED(hRet))
|
||||
{
|
||||
pThis->Release();
|
||||
delete pThis;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue