VirtualBox

Changeset 78783 in vbox for trunk/src


Ignore:
Timestamp:
May 27, 2019 11:32:49 AM (6 years ago)
Author:
vboxsync
Message:

DnD/DnDURIList: Use delete instead of RTMemFree() in DnDURIList::Clear() and DnDURIList::RemoveFirst().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/DragAndDrop/DnDURIList.cpp

    r78021 r78783  
    441441        DnDURIObject *pCurObj = m_lstTree.at(i);
    442442        AssertPtr(pCurObj);
    443         RTMemFree(pCurObj);
     443        delete pCurObj;
    444444    }
    445445    m_lstTree.clear();
     
    462462
    463463    pCurObj->Close();
    464     RTMemFree(pCurObj);
     464    delete pCurObj;
    465465
    466466    m_lstTree.removeFirst();
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