mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:43:01 +00:00
Start off atoms in life with a ReferenceCount of 1
svn path=/trunk/; revision=16315
This commit is contained in:
parent
6d73043da8
commit
5a9947460c
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ RtlAddAtomToAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
||||||
if (Entry != NULL)
|
if (Entry != NULL)
|
||||||
{
|
{
|
||||||
Entry->HashLink = NULL;
|
Entry->HashLink = NULL;
|
||||||
Entry->ReferenceCount = 0;
|
Entry->ReferenceCount = 1;
|
||||||
Entry->Flags = 0x0;
|
Entry->Flags = 0x0;
|
||||||
|
|
||||||
Entry->NameLength = AtomNameLen;
|
Entry->NameLength = AtomNameLen;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue