From 4d6b14cc972a1a1b5784c9efc862574608a837f7 Mon Sep 17 00:00:00 2001 From: "XTra.KrazzY" Date: Sat, 26 Dec 2009 16:21:03 +0000 Subject: [PATCH] Tiny memleak fix? git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4733 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/State.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/Core/Core/Src/State.cpp b/Source/Core/Core/Src/State.cpp index 03caeec6fa..7794ecfa93 100644 --- a/Source/Core/Core/Src/State.cpp +++ b/Source/Core/Core/Src/State.cpp @@ -116,8 +116,6 @@ void LoadBufferStateCallback(u64 userdata, int cyclesLate) PointerWrap p(&ptr, PointerWrap::MODE_READ); DoState(p); - cur_buffer = NULL; - Core::DisplayMessage("Loaded state", 2000); state_op_in_progress = false; } @@ -147,7 +145,6 @@ void SaveBufferStateCallback(u64 userdata, int cyclesLate) p.SetMode(PointerWrap::MODE_WRITE); DoState(p); - cur_buffer = NULL; state_op_in_progress = false; }