summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-20 12:34:59 +0200
committerGitHub <noreply@github.com>2019-07-20 12:34:59 +0200
commitc5855b3a7e80c10f602e31c4122f163c9e581bf3 (patch)
tree11197bcceb1d24a9780fd46a888d5b7886cf4b0a /src
parentfixed dodo bug (diff)
parentfixed references leak (diff)
downloadre3-c5855b3a7e80c10f602e31c4122f163c9e581bf3.tar
re3-c5855b3a7e80c10f602e31c4122f163c9e581bf3.tar.gz
re3-c5855b3a7e80c10f602e31c4122f163c9e581bf3.tar.bz2
re3-c5855b3a7e80c10f602e31c4122f163c9e581bf3.tar.lz
re3-c5855b3a7e80c10f602e31c4122f163c9e581bf3.tar.xz
re3-c5855b3a7e80c10f602e31c4122f163c9e581bf3.tar.zst
re3-c5855b3a7e80c10f602e31c4122f163c9e581bf3.zip
Diffstat (limited to 'src')
-rw-r--r--src/entities/Entity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp
index 1882c3b5..42afd2e0 100644
--- a/src/entities/Entity.cpp
+++ b/src/entities/Entity.cpp
@@ -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;
}
}