VirtualBox

Ignore:
Timestamp:
Jun 12, 2019 1:57:04 PM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/URI: Update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxClipboard.cpp

    r79036 r79107  
    6363    VBOXCLIPBOARDWINCTX      Win;
    6464#ifdef VBOX_WITH_SHARED_CLIPBOARD_URI_LIST
     65    /** URI transfer data. */
    6566    SHAREDCLIPBOARDURICTX    URI;
    6667#endif
     
    635636{
    636637    RT_NOREF(rc);
    637     LogFlowFunc(("rc=%Rrc\n", rc));
     638
     639    LogFlowFunc(("pData=%p, rc=%Rrc\n", pData, rc));
    638640
    639641    PSHAREDCLIPBOARDURICTX pCtx = (PSHAREDCLIPBOARDURICTX)pData->pvUser;
     
    642644    PSHAREDCLIPBOARDURITRANSFER pTransfer = pData->pTransfer;
    643645    AssertPtr(pTransfer);
     646
     647    if (pTransfer->pvUser) /* SharedClipboardWinURITransferCtx */
     648    {
     649        delete pTransfer->pvUser;
     650        pTransfer->pvUser = NULL;
     651    }
    644652
    645653    int rc2 = SharedClipboardURICtxTransferRemove(pCtx, pTransfer);
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