mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-26 11:29:53 +03:00
src/Cedar/Virtual: coverity suspects null pointer dereference here
however, both Cancel() and ReleaseCancel() checks for NULL themselves, so we can remove this check
This commit is contained in:
parent
4b49540750
commit
5ecc80a14e
@ -1995,13 +1995,10 @@ LABEL_RESTART:
|
||||
}
|
||||
Unlock(t->CancelLock);
|
||||
|
||||
if (c != NULL)
|
||||
{
|
||||
Cancel(c);
|
||||
|
||||
ReleaseCancel(c);
|
||||
}
|
||||
}
|
||||
|
||||
if (IsTubeConnected(ipc->Sock->RecvTube) == false || IsTubeConnected(ipc->Sock->SendTube) == false)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user