提交 5ee94359 编写于 作者: weixin_48148422's avatar weixin_48148422

fix memory leaks

上级 8317e1a6
......@@ -798,6 +798,7 @@ static void tSQLBinaryTraverseOnSkipList(
taosArrayPush(pResult, SL_GET_NODE_DATA(pNode));
}
}
tSkipListDestroyIter(iter);
}
......@@ -825,6 +826,8 @@ static void tQueryIndexlessColumn(SSkipList* pSkipList, tQueryInfo* pQueryInfo,
taosArrayPush(result, (void*)&table);
}
}
tSkipListDestroyIter(iter);
}
......
......@@ -1436,6 +1436,7 @@ static int32_t doQueryTableList(STable* pSTable, SArray* pRes, tExprNode* pExpr)
convertQueryResult(pRes, pTableList);
taosArrayDestroy(pTableList);
free(schema);
return TSDB_CODE_SUCCESS;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册