diff --git a/src/Cedar/Virtual.c b/src/Cedar/Virtual.c index 8f6cf5e9..206e933d 100644 --- a/src/Cedar/Virtual.c +++ b/src/Cedar/Virtual.c @@ -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)