mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
- Only dereference the KCB if we know it exists
- Fix for Coverity error CID: 279 svn path=/trunk/; revision=36486
This commit is contained in:
@@ -71,11 +71,10 @@ CmpDeleteKeyObject(PVOID DeletedObject)
|
||||
{
|
||||
/* Delist the key */
|
||||
DelistKeyBodyFromKCB(KeyBody, FALSE);
|
||||
|
||||
/* Dereference the KCB */
|
||||
CmpDelayDerefKeyControlBlock(Kcb);
|
||||
}
|
||||
|
||||
/* Dereference the KCB */
|
||||
CmpDelayDerefKeyControlBlock(Kcb);
|
||||
|
||||
}
|
||||
|
||||
/* Release the registry lock */
|
||||
|
||||
Reference in New Issue
Block a user