1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2026-05-01 03:09:25 +03:00

Fix bugs reported by Coverity Scan.

This commit is contained in:
Daiyuu Nobori
2018-09-28 22:39:38 +09:00
parent 06c06f1db8
commit ee9990317b
12 changed files with 29 additions and 15 deletions
+2
View File
@@ -906,6 +906,8 @@ void *UnixNewSingleInstance(char *instance_name)
if (fcntl(fd, F_SETLK, &lock) == -1)
{
close(fd);
(void)remove(name);
return NULL;
}
else