Skip to content

Commit

Permalink
Fix minor oversight in previous commit.
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42094 a95241bf-73f2-0310-859d-f6bbb57e9c96
  • Loading branch information
anevilyak committed Jun 11, 2011
1 parent c1ae7ca commit fca88f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/apps/debugger/files/FileManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,10 @@ class FileManager::Domain : private LocatableEntryOwner {
else {
DeadEntryList::Iterator iterator = fDeadEntries.GetIterator();
while (iterator.HasNext()) {
if (iterator.Next() == entry)
if (iterator.Next() == entry) {
fDeadEntries.Remove(entry);
break;
}
}
}
}
Expand Down

0 comments on commit fca88f7

Please sign in to comment.