提交 04e5c75b 编写于 作者: M Minglei Jin

fix: cleanup memory with streamLoadTasks

上级 a76bbfe0
...@@ -265,6 +265,8 @@ int32_t streamLoadTasks(SStreamMeta* pMeta) { ...@@ -265,6 +265,8 @@ int32_t streamLoadTasks(SStreamMeta* pMeta) {
} }
} }
tdbFree(pKey);
tdbFree(pVal);
if (tdbTbcClose(pCur) < 0) { if (tdbTbcClose(pCur) < 0) {
return -1; return -1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册