Skip to content
Snippets Groups Projects
Commit 7859e57f authored by Ilya Zhuravlev's avatar Ilya Zhuravlev Committed by kwolekr
Browse files

Fix another heap-use-after-free in pause menu.

parent 2d16ebf5
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment