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

Merge pull request #151 from Nick007J/master

fixed references leak
This commit is contained in:
aap 2019-07-20 12:34:59 +02:00 committed by GitHub
commit c5855b3a7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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