fixed references leak
This commit is contained in:
parent
2c647ef228
commit
fe03ba825a
@ -535,7 +535,7 @@ CEntity::ResolveReferences(void)
|
||||
for(ref = m_pFirstReference; ref->next; ref = ref->next)
|
||||
;
|
||||
ref->next = CReferences::pEmptyList;
|
||||
CReferences::pEmptyList = ref;
|
||||
CReferences::pEmptyList = m_pFirstReference;
|
||||
m_pFirstReference = nil;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user