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