提交 5ee04e80 编写于 作者: M Minghao Li

refacotr(sync): free memory

上级 40ec6ba9
...@@ -1924,10 +1924,10 @@ inline void syncNodeEventLog(const SSyncNode* pSyncNode, char* str) { ...@@ -1924,10 +1924,10 @@ inline void syncNodeEventLog(const SSyncNode* pSyncNode, char* str) {
// sDebug("%s", s); // sDebug("%s", s);
// sInfo("%s", s); // sInfo("%s", s);
sTrace("%s", s); sTrace("%s", s);
taosMemoryFree(peerStateStr);
taosMemoryFree(s); taosMemoryFree(s);
} }
taosMemoryFree(peerStateStr);
taosMemoryFree(pCfgStr); taosMemoryFree(pCfgStr);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册