提交 04d501d6 编写于 作者: M Minglei Jin

fix: destroy aColArray anyway

上级 f1414355
......@@ -1662,17 +1662,15 @@ static int32_t mergeLast(tb_uid_t uid, STsdb *pTsdb, SArray **ppLastArray, SCach
if (ignoreEarlierTs) {
taosArrayDestroy(pColArray);
pColArray = NULL;
taosArrayDestroy(aColArray);
aColArray = NULL;
} else {
taosArrayClear(pColArray);
taosArrayClear(aColArray);
}
}
*ppLastArray = pColArray;
//}
nextRowIterClose(&iter);
taosArrayDestroy(aColArray);
// taosMemoryFreeClear(pTSchema);
return code;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册