Skip to content

Commit

Permalink
fix mem leak
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon9997 committed Jan 23, 2025
1 parent 8eebf17 commit b739f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/libs/catalog/src/ctgAsync.c
Original file line number Diff line number Diff line change
Expand Up @@ -1692,7 +1692,7 @@ int32_t ctgHandleGetTbMetaRsp(SCtgTaskReq* tReq, int32_t reqType, const SDataBuf
TAOS_MEMCPY(pOut->tbMeta + sizeof(STableMeta), pOut->vctbMeta + sizeof(SVCTableMeta), colRefSize);
pOut->tbMeta->colRef = (SColRef *)((char *)pOut->tbMeta + sizeof(STableMeta));
}
taosMemoryFree(pOut->vctbMeta);
taosMemoryFreeClear(pOut->vctbMeta);
}

/*
Expand Down

0 comments on commit b739f84

Please sign in to comment.