mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 20:35:47 -04:00
CPU/CodeCache: Don't leak blocks on flush
This commit is contained in:
@ -142,6 +142,8 @@ void CodeCache::Flush()
|
||||
for (auto& it : m_ram_block_map)
|
||||
it.clear();
|
||||
|
||||
for (const auto& it : m_blocks)
|
||||
delete it.second;
|
||||
m_blocks.clear();
|
||||
#ifdef WITH_RECOMPILER
|
||||
m_code_buffer->Reset();
|
||||
|
Reference in New Issue
Block a user