Tiny memleak fix?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4733 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
56fb509729
commit
4d6b14cc97
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue