提交 0f9d860d 编写于 作者: H Haojun Liao

[td-11818]Fix invalid read in the unit test.

上级 e67e7486
......@@ -537,7 +537,6 @@ TEST(testCase, create_topic_Test) {
if (taos_errno(pRes) != 0) {
printf("error in use db, reason:%s\n", taos_errstr(pRes));
}
taos_free_result(pRes);
TAOS_FIELD* pFields = taos_fetch_fields(pRes);
ASSERT_TRUE(pFields == nullptr);
......
......@@ -1706,7 +1706,7 @@ void scheduleFreeJob(void *job) {
tfree(pJob);
qDebug("QID:%"PRIx64" job freed", queryId);
qDebug("QID:0x%"PRIx64" job freed", queryId);
}
void schedulerFreeTaskList(SArray *taskList) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册