fix: addRefException

This commit is contained in:
xsren 2024-09-20 17:33:37 +08:00
parent 918a20a9fd
commit e343fcc3f6
1 changed files with 2 additions and 0 deletions

View File

@ -158,6 +158,8 @@ int64_t taosAddRef(int32_t rsetId, void *p) {
pNode = taosMemoryCalloc(sizeof(SRefNode), 1);
if (pNode == NULL) {
taosDecRsetCount(pSet);
uError("rsetId:%d p:%p failed to add, out of memory", rsetId, p);
return terrno;
}