VirtualBox

Changeset 27837 in vbox


Ignore:
Timestamp:
Mar 30, 2010 5:14:52 PM (15 years ago)
Author:
vboxsync
Message:

Main/OVF: plug memory leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ApplianceImplExport.cpp

    r27835 r27837  
    15541554        Utf8Str strMfFile = manifestFileName(pTask->locInfo.strPath.c_str());
    15551555        int vrc = RTManifestWriteFiles(strMfFile.c_str(), ppManifestFiles, diskList.size()+1);
     1556        RTMemFree(ppManifestFiles);
    15561557        if (RT_FAILURE(vrc))
    15571558            throw setError(VBOX_E_FILE_ERROR,
    15581559                           tr("Couldn't create manifest file '%s' (%Rrc)"),
    15591560                           RTPathFilename(strMfFile.c_str()), vrc);
    1560         RTMemFree(ppManifestFiles);
    15611561    }
    15621562    catch(xml::Error &x)
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