(Unload Core) Release system info on core unload too

This commit is contained in:
twinaphex 2015-03-24 14:43:27 +01:00
parent ca8e38fa18
commit 4c40ff37c2

View File

@ -2397,6 +2397,9 @@ bool rarch_main_command(unsigned cmd)
break;
case RARCH_CMD_UNLOAD_CORE:
rarch_main_command(RARCH_CMD_PREPARE_DUMMY);
#ifdef HAVE_DYNAMIC
libretro_free_system_info(&global->menu.info);
#endif
break;
case RARCH_CMD_QUIT:
rarch_main_set_state(RARCH_ACTION_STATE_QUIT);