mirror of
https://github.com/reactos/reactos.git
synced 2024-07-12 07:35:10 +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))
|
||||
{
|
||||
DPRINT1("AppendSystemPostfix() failed\n", GetLastError());
|
||||
LocalFree ((HLOCAL)SidString);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue