Fixed a memory leak

CQTexperiment
Chris Moeller 2013-10-13 13:16:11 -07:00
parent 5f1c111bc7
commit 11fb240606
1 changed files with 2 additions and 0 deletions

View File

@ -1013,6 +1013,8 @@ static int twosf_info(void * context, const char * name, const char * value)
state_setrom(core, state.rom, (u32) state.rom_size );
state_loadstate(core, state.state, (u32) state.state_size);
if (state.state) free(state.state);
}
else if ( type == 0x25 )
{