fix: add failure task destory
This commit is contained in:
parent
30eb4b2633
commit
a15120f97e
|
@ -232,6 +232,10 @@ _return:
|
||||||
|
|
||||||
taosArrayDestroy(pResList);
|
taosArrayDestroy(pResList);
|
||||||
|
|
||||||
|
if (TSDB_CODE_SUCCESS != code) {
|
||||||
|
qwFreeTaskHandle(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
QW_RET(code);
|
QW_RET(code);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue