VirtualBox

Changeset 97799 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Dec 13, 2022 5:26:12 PM (2 years ago)
Author:
vboxsync
Message:

DnD: Resolved a @todo: Return rc when closing DnD objects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibDragAndDrop.cpp

    r97764 r97799  
    16811681    if (!pvBuf)
    16821682    {
    1683         DnDTransferObjectClose(pObj);
     1683        int rc2 = DnDTransferObjectClose(pObj);
     1684        AssertRC(rc2);
    16841685        return VERR_NO_MEMORY;
    16851686    }
     
    17531754
    17541755    RTMemFree(pvBuf);
    1755     DnDTransferObjectClose(pObj);
     1756    int rc2 = DnDTransferObjectClose(pObj);
     1757    if (RT_SUCCESS(rc))
     1758        rc = rc2;
    17561759
    17571760    LogFlowFuncLeaveRC(rc);
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