fix: fix crash issue

This commit is contained in:
dapan1121 2022-07-11 16:33:10 +08:00
parent 8ffb501219
commit d8be162bff
1 changed files with 1 additions and 1 deletions

View File

@ -759,7 +759,7 @@ int32_t schExecJob(SSchJob *pJob, SSchedulerReq *pReq) {
}
void schDirectPostJobRes(SSchedulerReq* pReq, int32_t errCode) {
if (pReq->syncReq) {
if (NULL == pReq || pReq->syncReq) {
return;
}