fix: free vMetaRsp.pSchemas
This commit is contained in:
parent
6275553745
commit
b52c734f88
|
@ -205,7 +205,7 @@ _query:
|
||||||
}
|
}
|
||||||
|
|
||||||
tDecoderInit(&dc, pData, nData);
|
tDecoderInit(&dc, pData, nData);
|
||||||
tDecodeSSchemaWrapper(&dc, &schema);
|
tDecodeSSchemaWrapperEx(&dc, &schema);
|
||||||
pSchema = tCloneSSchemaWrapper(&schema);
|
pSchema = tCloneSSchemaWrapper(&schema);
|
||||||
tDecoderClear(&dc);
|
tDecoderClear(&dc);
|
||||||
|
|
||||||
|
|
|
@ -630,6 +630,9 @@ _exit:
|
||||||
tEncoderInit(&ec, pRsp->pCont, pRsp->contLen);
|
tEncoderInit(&ec, pRsp->pCont, pRsp->contLen);
|
||||||
tEncodeSVAlterTbRsp(&ec, &vAlterTbRsp);
|
tEncodeSVAlterTbRsp(&ec, &vAlterTbRsp);
|
||||||
tEncoderClear(&ec);
|
tEncoderClear(&ec);
|
||||||
|
if (vMetaRsp.pSchemas) {
|
||||||
|
taosMemoryFree(vMetaRsp.pSchemas);
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue