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:
Hervé Poussineau 2007-05-18 12:41:16 +00:00
parent 1be0ddc3d5
commit d2eb919808

View file

@ -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 */