mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
Don't accidentally free the object name path in case it wasn't altered when resolving paths to handles
svn path=/trunk/; revision=24504
This commit is contained in:
parent
e53f089662
commit
ff377bd3d2
1 changed files with 1 additions and 1 deletions
|
@ -823,7 +823,7 @@ FailOpenService:
|
|||
}
|
||||
|
||||
Cleanup:
|
||||
if (lpPath != NULL)
|
||||
if (lpPath != NULL && lpPath != pObjectName)
|
||||
{
|
||||
LocalFree((HLOCAL)lpPath);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue