mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 02:20:54 +00:00
don't free memory which is not allocated yet
Fix for Coverity error CID: 789. svn path=/trunk/; revision=36411
This commit is contained in:
parent
2aabf8b66d
commit
cb7fa454fa
|
@ -250,7 +250,6 @@ CreateUserProfileW (PSID Sid,
|
||||||
if (!AppendSystemPostfix (szUserProfilePath, MAX_PATH))
|
if (!AppendSystemPostfix (szUserProfilePath, MAX_PATH))
|
||||||
{
|
{
|
||||||
DPRINT1("AppendSystemPostfix() failed\n", GetLastError());
|
DPRINT1("AppendSystemPostfix() failed\n", GetLastError());
|
||||||
LocalFree ((HLOCAL)SidString);
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue