Start off atoms in life with a ReferenceCount of 1
Modified: trunk/reactos/lib/rtl/atom.c
_____
Modified: trunk/reactos/lib/rtl/atom.c
--- trunk/reactos/lib/rtl/atom.c 2005-06-28 22:09:03 UTC (rev
16314)
+++ trunk/reactos/lib/rtl/atom.c 2005-06-28 22:33:48 UTC (rev
16315)
@@ -352,7 +352,7 @@
if (Entry != NULL)
{
Entry->HashLink = NULL;
- Entry->ReferenceCount = 0;
+ Entry->ReferenceCount = 1;
Entry->Flags = 0x0;
Entry->NameLength = AtomNameLen;
Show replies by date