提交 ed410118 编写于 作者: dengyihao's avatar dengyihao

fix mem leak

上级 dcf06061
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册