mirror of
https://github.com/reactos/reactos.git
synced 2025-06-05 01:10:26 +00:00
[ACCESS]
Don't leak memory CID #716335 svn path=/trunk/; revision=62653
This commit is contained in:
parent
362bca1c4a
commit
a322341b4c
1 changed files with 3 additions and 0 deletions
|
@ -184,7 +184,10 @@ SystemApplet(VOID)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (!ReadSettings(pGlobalData))
|
if (!ReadSettings(pGlobalData))
|
||||||
|
{
|
||||||
|
HeapFree(GetProcessHeap(), 0, pGlobalData);
|
||||||
return 0;
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
ZeroMemory(&psh, sizeof(PROPSHEETHEADER));
|
ZeroMemory(&psh, sizeof(PROPSHEETHEADER));
|
||||||
psh.dwSize = sizeof(PROPSHEETHEADER);
|
psh.dwSize = sizeof(PROPSHEETHEADER);
|
||||||
|
|
Loading…
Reference in a new issue