Start off atoms in life with a ReferenceCount of 1

svn path=/trunk/; revision=16315
This commit is contained in:
Gé van Geldorp 2005-06-28 22:33:48 +00:00
parent 6d73043da8
commit 5a9947460c

View file

@ -352,7 +352,7 @@ RtlAddAtomToAtomTable(IN PRTL_ATOM_TABLE AtomTable,
if (Entry != NULL)
{
Entry->HashLink = NULL;
Entry->ReferenceCount = 0;
Entry->ReferenceCount = 1;
Entry->Flags = 0x0;
Entry->NameLength = AtomNameLen;