提交 fc598288 编写于 作者: G Ganlin Zhao

fix: coverity issues

CID: 400233
上级 5583ee42
......@@ -52,7 +52,7 @@ STSBuf* tsBufCreate(bool autoDelete, int32_t order) {
}
if (!autoDelete) {
if (taosRemoveFile(pTSBuf->path) == NULL) {
if (taosRemoveFile(pTSBuf->path) != 0) {
taosMemoryFree(pTSBuf);
return NULL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册