VirtualBox

Changeset 77183 in vbox for trunk/src/VBox/Devices/Storage


Ignore:
Timestamp:
Feb 6, 2019 6:31:48 PM (6 years ago)
Author:
vboxsync
Message:

AHCI: Revert last memory leak fix. PDMDevHlpDriverAttach() takes over ownership of the pszDesc pointer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevAHCI.cpp

    r77182 r77183  
    61876187            return PDMDevHlpVMSetError(pDevIns, rc, RT_SRC_POS,
    61886188                                       N_("AHCI: Failed to attach drive to %s"), pszName);
    6189 
    6190         RTStrFree(pszName);
    6191         pszName = NULL;
    61926189    }
    61936190
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