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

fix:add logic for ins_columns

上级 3e7aaf6a
...@@ -383,9 +383,9 @@ static FORCE_INLINE void tDeleteSSchemaWrapper(SSchemaWrapper* pSchemaWrapper) { ...@@ -383,9 +383,9 @@ static FORCE_INLINE void tDeleteSSchemaWrapper(SSchemaWrapper* pSchemaWrapper) {
} }
static FORCE_INLINE void tDeleteSSchemaWrapperForHash(void* pSchemaWrapper) { static FORCE_INLINE void tDeleteSSchemaWrapperForHash(void* pSchemaWrapper) {
if (pSchemaWrapper) { if (pSchemaWrapper != NULL && *(SSchemaWrapper**)pSchemaWrapper != NULL) {
taosMemoryFree(((SSchemaWrapper*)pSchemaWrapper)->pSchema); taosMemoryFree((*(SSchemaWrapper**)pSchemaWrapper)->pSchema);
taosMemoryFree(pSchemaWrapper); taosMemoryFree(*(SSchemaWrapper**)pSchemaWrapper);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册