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
1 changed files with 1 additions and 1 deletions

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