Remove the segfault while exiting (was not really critical, but it's more clean)

For that: stop trying to free memory that was not malloc-ed.
This commit is contained in:
Godzil 2019-10-28 14:08:43 +00:00
parent 384525c9ad
commit d264ef17d8

View File

@ -400,7 +400,7 @@ void ws_memory_reset(void)
////////////////////////////////////////////////////////////////////////////////
void ws_memory_done(void)
{
free(ws_rom);
//free(ws_rom);
free(ws_staticRam);
free(internalRam);
free(externalEeprom);