VirtualBox

Ignore:
Timestamp:
Jul 12, 2023 8:25:56 AM (20 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
158346
Message:

Shared Clipboard: Make sure to also lock the client in ShClSvcTransferDestroy(). bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-transfers.cpp

    r100499 r100535  
    20522052        AssertRC(rc2);
    20532053
     2054        shClSvcClientUnlock(pClient);
     2055
    20542056        ShClSvcTransferDestroy(pClient, pTransfer);
    2055 
    2056         shClSvcClientUnlock(pClient);
    20572057    }
    20582058
     
    23242324    LogFlowFuncEnter();
    23252325
     2326    shClSvcClientLock(pClient);
     2327
    23262328    PSHCLTRANSFERCTX pTxCtx = &pClient->Transfers.Ctx;
    23272329
     
    23322334    RTMemFree(pTransfer);
    23332335    pTransfer = NULL;
     2336
     2337    shClSvcClientUnlock(pClient);
    23342338
    23352339    LogFlowFuncLeave();
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