提交 a8ffb823 编写于 作者: dengyihao's avatar dengyihao

fix invalid free

上级 29d80b1c
...@@ -399,7 +399,7 @@ int32_t recoverSnapshot(SStreamFileState* pFileState) { ...@@ -399,7 +399,7 @@ int32_t recoverSnapshot(SStreamFileState* pFileState) {
sscanf(val, "%" PRId64 "", &maxCheckPointId); sscanf(val, "%" PRId64 "", &maxCheckPointId);
taosMemoryFree(val); taosMemoryFree(val);
} }
for (int64_t i = maxCheckPointId; i > 0; i++) { for (int64_t i = maxCheckPointId; i > 0; i--) {
char buf[128] = {0}; char buf[128] = {0};
void* val = 0; void* val = 0;
int32_t len = 0; int32_t len = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册