fix:add logic for ins_columns
This commit is contained in:
parent
3e7aaf6adc
commit
cc23ecedac
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue