Skip to content

Commit

Permalink
vm: Fix stack memory release, always reset memory flags
Browse files Browse the repository at this point in the history
  • Loading branch information
elad335 authored and Nekotekina committed Sep 26, 2020
1 parent f22348a commit 53c8ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcs3/Emu/Memory/vm.cpp
Expand Up @@ -805,7 +805,7 @@ namespace vm
vm::writer_lock lock(0);

// Deallocate all memory
for (auto it = m_map.begin(), end = m_map.end(); !m_common && it != end;)
for (auto it = m_map.begin(), end = m_map.end(); it != end;)
{
const auto next = std::next(it);
const auto size = it->second.first;
Expand Down

0 comments on commit 53c8ed6

Please sign in to comment.