projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1be0ddc
)
Check that we retrieved a value data before marking it as dirty
author
Hervé Poussineau
<hpoussin@reactos.org>
Fri, 18 May 2007 12:41:16 +0000
(12:41 +0000)
committer
Hervé Poussineau
<hpoussin@reactos.org>
Fri, 18 May 2007 12:41:16 +0000
(12:41 +0000)
This is related to bug 1998
svn path=/trunk/; revision=26830
reactos/ntoskrnl/config/cmkeydel.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/config/cmkeydel.c
b/reactos/ntoskrnl/config/cmkeydel.c
index
c73e5cc
..
74f0b79
100644
(file)
--- a/
reactos/ntoskrnl/config/cmkeydel.c
+++ b/
reactos/ntoskrnl/config/cmkeydel.c
@@
-90,7
+90,7
@@
CmpMarkKeyDirty(IN PHHIVE Hive,
\r
/* Get the value data and release it */
\r
ValueData = HvGetCell(Hive, ListData->u.KeyList[i]);
\r
-
if (ValueData) ASSERT(FALSE
);
\r
+
ASSERT(ValueData
);
\r
HvReleaseCell(Hive,ListData->u.KeyList[i]);
\r
\r
/* Mark the value data dirty too */
\r