mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
fix heap-use-after-free
This commit is contained in:
parent
a36442d72d
commit
73f271021a
1 changed files with 1 additions and 0 deletions
|
@ -2252,6 +2252,7 @@ TODO: Add a setting for these tweaks */
|
||||||
break;
|
break;
|
||||||
case CMD_EVENT_CORE_INFO_DEINIT:
|
case CMD_EVENT_CORE_INFO_DEINIT:
|
||||||
core_info_deinit_list();
|
core_info_deinit_list();
|
||||||
|
core_info_free_current_core();
|
||||||
break;
|
break;
|
||||||
case CMD_EVENT_CORE_INFO_INIT:
|
case CMD_EVENT_CORE_INFO_INIT:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue