VirtualBox

Ignore:
Timestamp:
Aug 21, 2019 3:04:54 PM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/URI: Update.

File:
1 edited

Legend:

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

    r80359 r80374  
    10961096    if (RT_FAILURE(rc))
    10971097    {
    1098         RTMemFree(pTransfer);
     1098        if (pTransfer)
     1099        {
     1100            SharedClipboardURITransferDestroy(pTransfer);
     1101            RTMemFree(pTransfer);
     1102        }
    10991103    }
    11001104
     
    18881892    pTransfer->ProviderIface         = pCreationCtx->Interface;
    18891893
     1894#ifdef DEBUG
     1895# define LOG_IFACE_PTR(a_Name) \
     1896    LogFlowFunc(( #a_Name "=%p\n", pTransfer->ProviderIface.a_Name));
     1897
     1898    LOG_IFACE_PTR(pfnTransferOpen);
     1899    LOG_IFACE_PTR(pfnTransferClose);
     1900    LOG_IFACE_PTR(pfnGetRoots);
     1901    LOG_IFACE_PTR(pfnListOpen);
     1902    LOG_IFACE_PTR(pfnListClose);
     1903
     1904# undef LOG_IFACE_PTR
     1905#endif
     1906
    18901907    pTransfer->ProviderCtx.pTransfer = pTransfer;
    18911908    pTransfer->ProviderCtx.pvUser    = pCreationCtx->pvUser;
     
    20962113    AssertPtrReturn(pTransfer,  VERR_INVALID_POINTER);
    20972114    AssertPtrReturn(ppRootList, VERR_INVALID_POINTER);
     2115
     2116    LogFlowFuncEnter();
    20982117
    20992118    int rc = VINF_SUCCESS;
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