fix double free
This commit is contained in:
parent
78a5642676
commit
5bc6188f86
|
@ -677,7 +677,7 @@ static void httpHandleReq(SHttpMsg* msg) {
|
|||
tError("http-report failed to connect to http-server,dst:%s:%d, chanId:%" PRId64 ", seq:%" PRId64 ", reson:%s",
|
||||
cli->addr, cli->port, chanId, cli->seq, uv_strerror(ret));
|
||||
httpFailFastMayUpdate(http->connStatusTable, cli->addr, cli->port, 0);
|
||||
uv_close((uv_handle_t*)&cli->tcp, clientCloseCb);
|
||||
uv_close((uv_handle_t*)&cli->tcp, httpDestroyClientCb);
|
||||
}
|
||||
TAOS_UNUSED(taosReleaseRef(httpRefMgt, chanId));
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue