VirtualBox

Changeset 77182 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 6, 2019 6:24:30 PM (6 years ago)
Author:
vboxsync
Message:

AHCI: Fix small memory leak during construction (the port name stirng was not freed)

File:
1 edited

Legend:

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

    r76553 r77182  
    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;
    61896192    }
    61906193
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