mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-27 02:29:52 +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,12 +1995,9 @@ LABEL_RESTART:
|
||||
}
|
||||
Unlock(t->CancelLock);
|
||||
|
||||
if (c != NULL)
|
||||
{
|
||||
Cancel(c);
|
||||
Cancel(c);
|
||||
|
||||
ReleaseCancel(c);
|
||||
}
|
||||
ReleaseCancel(c);
|
||||
}
|
||||
|
||||
if (IsTubeConnected(ipc->Sock->RecvTube) == false || IsTubeConnected(ipc->Sock->SendTube) == false)
|
||||
|
Loading…
Reference in New Issue
Block a user