Fix a use after free.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3771 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
cf56078e25
commit
1ddaa7deb0
@ -223,9 +223,9 @@ static bool _import_record_release(import_record_t** import)
|
|||||||
task->_import_count--;
|
task->_import_count--;
|
||||||
|
|
||||||
free(record);
|
free(record);
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void _import_record_release_for_task(tf_task_t* task, taskid_t task_id)
|
static void _import_record_release_for_task(tf_task_t* task, taskid_t task_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user