avoid invalid read

This commit is contained in:
Yihao Deng 2024-04-29 03:18:38 +00:00
parent 97aadd3aa7
commit b54198ba4a
1 changed files with 0 additions and 5 deletions

View File

@ -483,11 +483,6 @@ int32_t streamTaskRemoteBackupCheckpoint(SStreamTask* pTask, int64_t chkpId, cha
return 0;
}
// void* p = taskAcquireDb(pTask->pBackend);
// if (p == NULL) {
// return 0;
// }
SAsyncUploadArg* arg = taosMemoryCalloc(1, sizeof(SAsyncUploadArg));
arg->type = type;
arg->taskId = taosStrdup(taskId);