mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
(task_database) Use task_init
This commit is contained in:
parent
2d99cdcbf3
commit
34be5862ee
@ -835,7 +835,6 @@ retro_task_t *task_init(void)
|
||||
retro_task_t *task = (retro_task_t*)calloc(1, sizeof(*task));
|
||||
|
||||
task->ident = task_get_next_ident();
|
||||
task->frontend_userdata = NULL;
|
||||
|
||||
return task;
|
||||
}
|
||||
|
@ -1355,7 +1355,7 @@ bool task_push_dbscan(
|
||||
bool db_dir_show_hidden_files,
|
||||
retro_task_callback_t cb)
|
||||
{
|
||||
retro_task_t *t = (retro_task_t*)calloc(1, sizeof(*t));
|
||||
retro_task_t *t = task_init();
|
||||
db_handle_t *db = (db_handle_t*)calloc(1, sizeof(db_handle_t));
|
||||
|
||||
if (!t || !db)
|
||||
|
Loading…
x
Reference in New Issue
Block a user