fix mem leak

This commit is contained in:
yihaoDeng 2024-11-27 15:07:59 +08:00
parent 0378062c4e
commit 1f96f3ad72
1 changed files with 3 additions and 0 deletions

View File

@ -823,6 +823,9 @@ static void processAlterTable(SMqMetaRsp* metaRsp, cJSON** pJson) {
end: end:
uDebug("alter table return"); uDebug("alter table return");
if (vAlterTbReq.action == TSDB_ALTER_TABLE_UPDATE_MULTI_TAG_VAL) {
taosArrayDestroy(vAlterTbReq.pMultiTag);
}
tDecoderClear(&decoder); tDecoderClear(&decoder);
*pJson = json; *pJson = json;
} }