JitCache: Freeing hotfix.

Sorry, I'm too stupid to test my code.
This commit is contained in:
degasus
2017-01-23 06:58:02 +01:00
parent 9cd34c7985
commit 819ebfb213

View File

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