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