diff --git a/command.c b/command.c index 12671ca67d..67a8892c2e 100644 --- a/command.c +++ b/command.c @@ -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: {