summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/common/misc
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2021-06-10 09:49:15 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2021-06-10 09:49:15 +0000
commit8a291b5554beb466b76bf1fd78d2073b935e69be (patch)
treee91839568a56243d5e0bc9ff26c5f4a5fbf66c80 /src/VBox/Runtime/common/misc
parent75fc36ec238749e3a7868cd12841da94cbc5b89a (diff)
downloadVirtualBox-svn-8a291b5554beb466b76bf1fd78d2073b935e69be.tar.gz
IPRT/RTReqCancel: Assertion correction (copy & paste from submit). bugref:9890
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@89593 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Runtime/common/misc')
-rw-r--r--src/VBox/Runtime/common/misc/req.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/VBox/Runtime/common/misc/req.cpp b/src/VBox/Runtime/common/misc/req.cpp
index 1b9fe645dc7..914f249e981 100644
--- a/src/VBox/Runtime/common/misc/req.cpp
+++ b/src/VBox/Runtime/common/misc/req.cpp
@@ -334,8 +334,7 @@ RTDECL(int) RTReqCancel(PRTREQ hReq)
PRTREQINT pReq = hReq;
AssertPtrReturn(pReq, VERR_INVALID_HANDLE);
AssertReturn(pReq->u32Magic == RTREQ_MAGIC, VERR_INVALID_HANDLE);
- //AssertMsgReturn(pReq->enmState == RTREQSTATE_ALLOCATED, ("%d\n", pReq->enmState), VERR_RT_REQUEST_STATE);
- AssertMsgReturn(pReq->uOwner.hQueue && !pReq->pNext && pReq->EventSem != NIL_RTSEMEVENT,
+ AssertMsgReturn(pReq->uOwner.hQueue && pReq->EventSem != NIL_RTSEMEVENT,
("Invalid request package! Anyone cooking their own packages???\n"),
VERR_RT_REQUEST_INVALID_PACKAGE);
AssertMsgReturn(pReq->enmType > RTREQTYPE_INVALID && pReq->enmType < RTREQTYPE_MAX,