Fix incorrect ref count comparison spotted by Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42099 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5fb0d3a67a
commit
448068fcce
@ -293,7 +293,7 @@ private:
|
||||
if (file == NULL)
|
||||
return NULL;
|
||||
|
||||
if (file->AcquireReference() == 1) {
|
||||
if (file->AcquireReference() == 0) {
|
||||
fEntries.Remove(file);
|
||||
fDeadEntries.Insert(file);
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user