VirtualBox

Changeset 100428 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 7, 2023 10:06:13 AM (17 months ago)
Author:
vboxsync
Message:

Shared Clipboard: Use AssertPtr() here. ​​bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/SharedClipboard/clipboard-win.cpp

    r100413 r100428  
    11451145        Assert(pTransfer->cbUser == sizeof(SharedClipboardWinTransferCtx));
    11461146        SharedClipboardWinTransferCtx *pWinURITransferCtx = (SharedClipboardWinTransferCtx *)pTransfer->pvUser;
    1147         Assert(pWinURITransferCtx);
     1147        AssertPtr(pWinURITransferCtx);
    11481148
    11491149        if (pWinURITransferCtx->pDataObj)
     
    11541154
    11551155        delete pWinURITransferCtx;
     1156        pWinURITransferCtx = NULL;
    11561157
    11571158        pTransfer->pvUser = NULL;
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