fix invalid read

This commit is contained in:
Yihao Deng 2024-07-08 09:27:42 +00:00
parent ef46c0c545
commit fe9aebc4fe
1 changed files with 1 additions and 2 deletions

View File

@ -605,7 +605,6 @@ static void httpModuleDestroy(SHttpModule* http) {
static int32_t taosSendHttpReportImplByChan(const char* server, const char* uri, uint16_t port, char* pCont,
int32_t contLen, EHttpCompFlag flag, int64_t chanId) {
int32_t ret = 0;
terrno = 0;
SHttpMsg* msg = httpCreateMsg(server, uri, port, pCont, contLen, flag, chanId);
if (msg == NULL) {
return terrno;