fixed a bug where sm_dump_handles reported some freed handles incorrectly
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401327
This commit is contained in:
parent
31dea335c3
commit
6053dff454
@ -925,8 +925,7 @@ void HandleSystem::Dump(FILE *fp)
|
||||
fprintf(fp, "---------------------------------------------\n");
|
||||
for (unsigned int i=1; i<=m_HandleTail; i++)
|
||||
{
|
||||
if (m_Handles[i].set == HandleSet_Freed
|
||||
|| m_Handles[i].set == HandleSet_Identity)
|
||||
if (m_Handles[i].set != HandleSet_Used)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user