Revert "Revert "fix heap-use-after-free""

This reverts commit 6b4cfdc043c651a991ea8a03c9c080ab8abafe09.
This commit is contained in:
twinaphex 2018-08-12 16:33:24 +02:00
parent 6b4cfdc043
commit 356c829f81

View File

@ -2252,6 +2252,7 @@ TODO: Add a setting for these tweaks */
break;
case CMD_EVENT_CORE_INFO_DEINIT:
core_info_deinit_list();
core_info_free_current_core();
break;
case CMD_EVENT_CORE_INFO_INIT:
{