fix mem leak
This commit is contained in:
parent
dcf06061cd
commit
ed41011863
|
@ -471,8 +471,7 @@ static void addConnToPool(void* pool, SCliConn* conn) {
|
|||
assert(!QUEUE_IS_EMPTY(&plist->conn));
|
||||
}
|
||||
static void cliAllocRecvBufferCb(uv_handle_t* handle, size_t suggested_size, uv_buf_t* buf) {
|
||||
SCliConn* conn = handle->data;
|
||||
tError("oh no %p", conn);
|
||||
SCliConn* conn = handle->data;
|
||||
SConnBuffer* pBuf = &conn->readBuf;
|
||||
transAllocBuffer(pBuf, buf);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue