VirtualBox

Changeset 61971 in vbox for trunk


Ignore:
Timestamp:
Jun 30, 2016 6:51:54 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108417
Message:

Storage/DMG: Fix memory leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/DMG.cpp

    r58132 r61971  
    865865            pThis->pvDecompExtent = NULL;
    866866            pThis->cbDecompExtent = 0;
     867        }
     868
     869        if (pThis->paExtents)
     870        {
     871            RTMemFree(pThis->paExtents);
     872            pThis->paExtents = NULL;
    867873        }
    868874    }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette