Author: hpoussin
Date: Fri May 18 16:41:16 2007
New Revision: 26830
URL:
http://svn.reactos.org/svn/reactos?rev=26830&view=rev
Log:
Check that we retrieved a value data before marking it as dirty
This is related to bug 1998
Modified:
trunk/reactos/ntoskrnl/config/cmkeydel.c
Modified: trunk/reactos/ntoskrnl/config/cmkeydel.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmkeydel.c…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmkeydel.c (original)
+++ trunk/reactos/ntoskrnl/config/cmkeydel.c Fri May 18 16:41:16 2007
@@ -90,7 +90,7 @@
/* 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 */