fix: add failure task destory

This commit is contained in:
dapan1121 2024-11-27 10:10:56 +08:00
parent 30eb4b2633
commit a15120f97e
1 changed files with 4 additions and 0 deletions

View File

@ -231,6 +231,10 @@ int32_t qwExecTask(QW_FPARAMS_DEF, SQWTaskCtx *ctx, bool *queryStop) {
_return:
taosArrayDestroy(pResList);
if (TSDB_CODE_SUCCESS != code) {
qwFreeTaskHandle(ctx);
}
QW_RET(code);
}