1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 11:20:07 +00:00

fixed references leak

This commit is contained in:
Nikolay Korolev 2019-07-19 22:45:58 +03:00
parent 2c647ef228
commit fe03ba825a

View file

@ -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;
}
}