提交 e7dfb8c2 编写于 作者: D dmchen

memory leak

上级 93766f8c
......@@ -708,6 +708,10 @@ _out:
syncEntryDestroy(pEntry);
pEntry = NULL;
}
if (!nextInBuf) {
syncEntryDestroy(pNextEntry);
pNextEntry = NULL;
}
syncLogBufferValidate(pBuf);
taosThreadMutexUnlock(&pBuf->mutex);
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册