mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 02:38:11 +00:00
task_save: fix double-free
This commit is contained in:
parent
f1453b6696
commit
20aa59249c
@ -623,7 +623,10 @@ static void task_save_handler(retro_task_t *task)
|
||||
}
|
||||
|
||||
if (!task_get_mute(task) && msg)
|
||||
{
|
||||
task_set_title(task, msg);
|
||||
msg = NULL;
|
||||
}
|
||||
|
||||
task_save_handler_finished(task, state);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user