mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +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:
@@ -823,7 +823,7 @@ FailOpenService:
|
||||
}
|
||||
|
||||
Cleanup:
|
||||
if (lpPath != NULL)
|
||||
if (lpPath != NULL && lpPath != pObjectName)
|
||||
{
|
||||
LocalFree((HLOCAL)lpPath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user