fix:add logic for ins_columns

This commit is contained in:
wangmm0220 2023-01-11 14:50:18 +08:00
parent 3e7aaf6adc
commit cc23ecedac
1 changed files with 3 additions and 3 deletions

View File

@ -383,9 +383,9 @@ static FORCE_INLINE void tDeleteSSchemaWrapper(SSchemaWrapper* pSchemaWrapper) {
}
static FORCE_INLINE void tDeleteSSchemaWrapperForHash(void* pSchemaWrapper) {
if (pSchemaWrapper) {
taosMemoryFree(((SSchemaWrapper*)pSchemaWrapper)->pSchema);
taosMemoryFree(pSchemaWrapper);
if (pSchemaWrapper != NULL && *(SSchemaWrapper**)pSchemaWrapper != NULL) {
taosMemoryFree((*(SSchemaWrapper**)pSchemaWrapper)->pSchema);
taosMemoryFree(*(SSchemaWrapper**)pSchemaWrapper);
}
}