diff options
author | Ilya Zhuravlev <zhuravlevilya@ya.ru> | 2014-01-16 16:54:50 +0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2014-02-04 22:17:02 -0500 |
commit | 7859e57f6c4bafe6d9213be905b16cc3e015ee07 (patch) | |
tree | 607fce49dc37c4daa3fd61743970c73bd48316d6 /src | |
parent | 2d16ebf57c0a287c96f9575e5317230b27e66288 (diff) | |
download | minetest-7859e57f6c4bafe6d9213be905b16cc3e015ee07.tar.gz minetest-7859e57f6c4bafe6d9213be905b16cc3e015ee07.tar.bz2 minetest-7859e57f6c4bafe6d9213be905b16cc3e015ee07.zip |
Fix another heap-use-after-free in pause menu.
Diffstat (limited to 'src')
-rw-r--r-- | src/guiPauseMenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guiPauseMenu.cpp b/src/guiPauseMenu.cpp index d7a51488e..4d5070c9b 100644 --- a/src/guiPauseMenu.cpp +++ b/src/guiPauseMenu.cpp @@ -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(); |