fix: tq mem leak

This commit is contained in:
yihaoDeng 2022-05-20 17:49:32 +08:00
parent 2911e36267
commit 90f8acf168
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ int transAllocBuffer(SConnBuffer* connBuf, uv_buf_t* uvBuf) {
} else {
p->cap = p->total;
p->buf = taosMemoryRealloc(p->buf, p->cap);
tTrace("internal malloc mem: %p", p->buf);
tTrace("internal malloc mem: %p, size: %d", p->buf, p->cap);
uvBuf->base = p->buf + p->len;
uvBuf->len = p->cap - p->len;