This commit is contained in:
54liuyao 2024-08-12 18:23:45 +08:00
parent 3ec51c77c4
commit 5d9101b28d
1 changed files with 2 additions and 1 deletions

View File

@ -526,12 +526,13 @@ static int32_t createTableCacheVal(const SMetaReader* pMetaReader, STableCachedV
memcpy(pVal->pTags, pTag, pTag->len);
}
(*ppResVal) = pVal;
_end:
if (code != TSDB_CODE_SUCCESS) {
qError("%s failed at line %d since %s", __func__, lino, tstrerror(code));
freeTableCachedVal(pVal);
}
(*ppResVal) = pVal;
return code;
}