[ros-diffs] [hpoussin] 26830: Check that we retrieved a value data before marking it as dirty This is related to bug 1998
hpoussin at svn.reactos.org
hpoussin at svn.reactos.org
Fri May 18 14:41:17 CEST 2007
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?rev=26830&r1=26829&r2=26830&view=diff
==============================================================================
--- 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 */
More information about the Ros-diffs
mailing list