提交 62e497e8 编写于 作者: wmmhello's avatar wmmhello

fix address sanitazer memory error

上级 d6796258
......@@ -3033,8 +3033,10 @@ int32_t loadDataBlockOnDemand(SQueryRuntimeEnv* pRuntimeEnv, STableScanInfo* pTa
STSElem elem = tsBufGetElem(pRuntimeEnv->pTsBuf);
if (!tsBufIsValidElem(&elem) || (tsBufIsValidElem(&elem) && (tVariantCompare(&t, elem.tag) != 0))) {
(*status) = BLK_DATA_DISCARD;
tVariantDestroy(&t);
return TSDB_CODE_SUCCESS;
}
tVariantDestroy(&t);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册