fix invalid free

This commit is contained in:
yihaoDeng 2024-03-12 03:21:49 +00:00
parent 31b6d15240
commit efefc205e6
1 changed files with 1 additions and 1 deletions

View File

@ -897,7 +897,7 @@ int32_t schCloneSMsgSendInfo(void *src, void **dst) {
qError("malloc SMsgSendInfo for rpcCtx failed, len:%d", (int32_t)sizeof(*pSrc));
SCH_ERR_RET(TSDB_CODE_OUT_OF_MEMORY);
}
if (pDst->target.dbFName != NULL) {
if (pSrc->target.dbFName != NULL) {
pDst->target.dbFName = taosStrdup(pSrc->target.dbFName);
}