memory leak

This commit is contained in:
dmchen 2023-10-30 07:19:08 +00:00
parent 34c4ffde26
commit 6172b820ac
1 changed files with 2 additions and 2 deletions

View File

@ -1008,7 +1008,7 @@ _exit:
taosArrayDestroy(tbUids);
tDecoderClear(&decoder);
tEncoderClear(&encoder);
taosArrayDestroy(tbNames);
taosArrayDestroyP(tbNames, taosMemoryFree);
return rcode;
}
@ -1225,7 +1225,7 @@ _exit:
tEncodeSVDropTbBatchRsp(&encoder, &rsp);
tEncoderClear(&encoder);
taosArrayDestroy(rsp.pArray);
taosArrayDestroy(tbNames);
taosArrayDestroyP(tbNames, taosMemoryFree);
return 0;
}