diff options
| author | Alexander Gavrilov | 2012-09-18 10:40:14 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-09-18 10:40:14 +0400 |
| commit | be928a9dc537290522577cde41211637f3b6f165 (patch) | |
| tree | df1265a04ea9dda568fbf5813a1fe2664e67e047 /library | |
| parent | 2c0a8a9544f81834b0a6e7ac9bf78db8aa5008d1 (diff) | |
| download | dfhack-be928a9dc537290522577cde41211637f3b6f165.tar.gz dfhack-be928a9dc537290522577cde41211637f3b6f165.tar.bz2 dfhack-be928a9dc537290522577cde41211637f3b6f165.tar.xz | |
Fix a data structure integrity bug in VMethodInterposeLinkBase.
This causes assertion failure and abort later on.
Diffstat (limited to 'library')
| -rw-r--r-- | library/VTableInterpose.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/VTableInterpose.cpp b/library/VTableInterpose.cpp index 583ef518..04642565 100644 --- a/library/VTableInterpose.cpp +++ b/library/VTableInterpose.cpp @@ -438,6 +438,8 @@ void VMethodInterposeLinkBase::remove() if (next) prev->child_next.insert(next); + else + prev->child_hosts.insert(host); } } |
