mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-07 00:04:57 +03:00
Fix bugs reported by Coverity Scan.
This commit is contained in:
@ -906,6 +906,8 @@ void *UnixNewSingleInstance(char *instance_name)
|
||||
|
||||
if (fcntl(fd, F_SETLK, &lock) == -1)
|
||||
{
|
||||
close(fd);
|
||||
(void)remove(name);
|
||||
return NULL;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user