未验证 提交 52403887 编写于 作者: D dapan1121 提交者: GitHub

Merge pull request #7580 from taosdata/fix/TD-6330

[TD-6330]<fix> fix free error
...@@ -427,7 +427,6 @@ int32_t readFromFile(char *name, uint32_t *len, void **buf) { ...@@ -427,7 +427,6 @@ int32_t readFromFile(char *name, uint32_t *len, void **buf) {
return TSDB_CODE_TSC_APP_ERROR; return TSDB_CODE_TSC_APP_ERROR;
} }
close(fd); close(fd);
tfree(*buf);
return TSDB_CODE_SUCCESS; return TSDB_CODE_SUCCESS;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册