Guard crash on OSX

This commit is contained in:
Twinaphex 2017-01-23 14:10:51 +01:00
parent b7ebcd6948
commit 1afda04966

View File

@ -143,7 +143,7 @@ static void retro_task_internal_gather(void)
if (task->error)
free(task->error);
if (task->title)
if (!string_is_empty(task->title))
free(task->title);
free(task);