VirtualBox

Ignore:
Timestamp:
Jul 1, 2016 8:37:32 AM (9 years ago)
Author:
vboxsync
Message:

xarvfs.cpp: Leaking the entire parsed XML document structure for the image.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/zip/xarvfs.cpp

    r61970 r61972  
    14531453    RTVfsFileRelease(pThis->hVfsFile);
    14541454    pThis->hVfsFile = NIL_RTVFSFILE;
     1455
     1456    if (pThis->XarReader.pDoc)
     1457        delete pThis->XarReader.pDoc;
     1458    pThis->XarReader.pDoc = NULL;
     1459    /* The other XarReader fields only point to elements within pDoc. */
     1460    pThis->XarReader.pToc = NULL;
     1461    pThis->XarReader.cCurDepth = 0;
     1462    pThis->XarReader.pCurFile = NULL;
    14551463
    14561464    return VINF_SUCCESS;
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