task_save: fix double-free

This commit is contained in:
Brian Koropoff 2017-10-11 21:26:26 -07:00
parent f1453b6696
commit 20aa59249c

View File

@ -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);