parent
5583ee42c0
commit
fc598288be
|
@ -52,7 +52,7 @@ STSBuf* tsBufCreate(bool autoDelete, int32_t order) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!autoDelete) {
|
if (!autoDelete) {
|
||||||
if (taosRemoveFile(pTSBuf->path) == NULL) {
|
if (taosRemoveFile(pTSBuf->path) != 0) {
|
||||||
taosMemoryFree(pTSBuf);
|
taosMemoryFree(pTSBuf);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue