mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 17:06:29 +00:00
Check that we retrieved a value data before marking it as dirty
This is related to bug 1998 svn path=/trunk/; revision=26830
This commit is contained in:
parent
1be0ddc3d5
commit
d2eb919808
|
@ -90,7 +90,7 @@ CmpMarkKeyDirty(IN PHHIVE Hive,
|
|||
|
||||
/* Get the value data and release it */
|
||||
ValueData = HvGetCell(Hive, ListData->u.KeyList[i]);
|
||||
if (ValueData) ASSERT(FALSE);
|
||||
ASSERT(ValueData);
|
||||
HvReleaseCell(Hive,ListData->u.KeyList[i]);
|
||||
|
||||
/* Mark the value data dirty too */
|
||||
|
|
Loading…
Reference in a new issue