Merge pull request #4724 from degasus/hotfix

JitCache: Freeing hotfix.
This commit is contained in:
Markus Wick 2017-01-23 07:31:36 +01:00 committed by GitHub
commit 5ed94a0f67
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ void JitBaseBlockCache::FreeBlock(JitBlock* block)
while (iter.first != iter.second)
{
if (&iter.first->second == block)
start_block_map.erase(iter.first);
iter.first = start_block_map.erase(iter.first);
else
iter.first++;
}