VirtualBox

Changeset 54944 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Mar 25, 2015 3:23:50 PM (10 years ago)
Author:
vboxsync
Message:

replaced a few more AssertPtrReturn by AssertReturn as we don't need to check for a valid pointer after RTMem*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/UsbCardReader.cpp

    r51612 r54944  
    550550    {
    551551        pvInBufferCopy = RTMemDup(pvInBuffer, cbInBuffer);
    552         AssertPtrReturn(pvInBufferCopy, VERR_NO_MEMORY);
     552        AssertReturn(pvInBufferCopy, VERR_NO_MEMORY);
    553553    }
    554554    int rc = RTReqQueueCallEx(pThis->hReqQCardReaderCmd, NULL, 0, RTREQFLAGS_VOID | RTREQFLAGS_NO_WAIT,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette