mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 14:20:00 +00:00
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)
|
for(ref = m_pFirstReference; ref->next; ref = ref->next)
|
||||||
;
|
;
|
||||||
ref->next = CReferences::pEmptyList;
|
ref->next = CReferences::pEmptyList;
|
||||||
CReferences::pEmptyList = ref;
|
CReferences::pEmptyList = m_pFirstReference;
|
||||||
m_pFirstReference = nil;
|
m_pFirstReference = nil;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue