mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-26 19:14:15 +01: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 New Issue
Block a user