Skip to content

Commit

Permalink
Fix another heap-use-after-free in pause menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Zhuravlev authored and kwolekr committed Feb 5, 2014
1 parent 2d16ebf commit 7859e57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/guiPauseMenu.cpp
Expand Up @@ -256,12 +256,12 @@ bool GUIPauseMenu::OnEvent(const SEvent& event)
// ALWAYS return immediately after quitMenu()
return true;
case 261:
quitMenu();
m_gamecallback->changePassword();
quitMenu();
return true;
case 262:
quitMenu();
m_gamecallback->changeVolume();
quitMenu();
return true;
case 260: // disconnect
m_gamecallback->disconnect();
Expand Down

0 comments on commit 7859e57

Please sign in to comment.