From 082584e4390f411114fafb8768b76b393f9dcc8c Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Tue, 11 Aug 2020 11:36:01 +0800 Subject: [PATCH] fix TD-1112 --- src/tsdb/src/tsdbMemTable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tsdb/src/tsdbMemTable.c b/src/tsdb/src/tsdbMemTable.c index cd5f223f3d..2df8ff26bd 100644 --- a/src/tsdb/src/tsdbMemTable.c +++ b/src/tsdb/src/tsdbMemTable.c @@ -232,7 +232,7 @@ void *tsdbAllocBytes(STsdbRepo *pRepo, int bytes) { } pNode->next = pNode->prev = NULL; - tdListAppend(pRepo->mem->extraBuffList, pNode); + tdListAppendNode(pRepo->mem->extraBuffList, pNode); ptr = (void *)(pNode->data); tsdbTrace("vgId:%d allocate %d bytes from SYSTEM buffer block", REPO_ID(pRepo), bytes); } else { // allocate from TSDB buffer pool -- GitLab