diff --git a/libretro-common/queues/task_queue.c b/libretro-common/queues/task_queue.c index 3ff959ce78..49a349cde5 100644 --- a/libretro-common/queues/task_queue.c +++ b/libretro-common/queues/task_queue.c @@ -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);