From 5a9947460ccc7e1a03887940e285d05b3392abb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Tue, 28 Jun 2005 22:33:48 +0000 Subject: [PATCH] Start off atoms in life with a ReferenceCount of 1 svn path=/trunk/; revision=16315 --- reactos/lib/rtl/atom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/lib/rtl/atom.c b/reactos/lib/rtl/atom.c index f073de9fb46..4dd69c9727d 100644 --- a/reactos/lib/rtl/atom.c +++ b/reactos/lib/rtl/atom.c @@ -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;