VirtualBox

Changeset 68382 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 11, 2017 9:46:25 AM (7 years ago)
Author:
vboxsync
Message:

iprt/isomaker: Don't forget to free the child array of directories.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/fs/isomaker.cpp

    r68198 r68382  
    952952        RTMemFree(pName->pszTransNm);
    953953        pName->pszTransNm = NULL;
     954    }
     955    PRTFSISOMAKERNAMEDIR pDir = pName->pDir;
     956    if (pDir != NULL)
     957    {
     958        Assert(pDir->cChildren == 0);
     959        RTMemFree(pDir->papChildren);
     960        pDir->papChildren = NULL;
    954961    }
    955962    RTMemFree(pName);
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