fix: close file
This commit is contained in:
parent
bf471f8aee
commit
15a4fe9c84
|
@ -681,6 +681,7 @@ static void monitorSendAllSlowLogFromTempDir(int64_t clusterId) {
|
||||||
}
|
}
|
||||||
char* tmp = taosStrdup(filename);
|
char* tmp = taosStrdup(filename);
|
||||||
monitorSendSlowLogAtBeginning(clusterId, &tmp, pFile, 0);
|
monitorSendSlowLogAtBeginning(clusterId, &tmp, pFile, 0);
|
||||||
|
(void)taosCloseFile(&pFile);
|
||||||
taosMemoryFree(tmp);
|
taosMemoryFree(tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue