提交 cc8a02ae 编写于 作者: L Liu Jicong

fix mem leak

上级 d14a599a
...@@ -149,6 +149,7 @@ int walCheckAndRepairMeta(SWal* pWal) { ...@@ -149,6 +149,7 @@ int walCheckAndRepairMeta(SWal* pWal) {
} }
} }
closedir(dir);
regfree(&logRegPattern); regfree(&logRegPattern);
regfree(&idxRegPattern); regfree(&idxRegPattern);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册