fix: add failure task destory
This commit is contained in:
parent
30eb4b2633
commit
a15120f97e
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue