VirtualBox

Ignore:
Timestamp:
May 6, 2022 10:53:59 AM (3 years ago)
Author:
vboxsync
Message:

Runtime: Fix a few memory leaks in error handling paths, bugref:3409

File:
1 edited

Legend:

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

    r94291 r94888  
    542542            if (RTAvlU64Insert(&pVol->MftRoot, &pRec->TreeNode))
    543543                return pRec;
    544             RTMemFree(pRec);
    545         }
     544            RTMemFree(pRec->pbRec);
     545        }
     546
     547        RTMemFree(pRec);
    546548    }
    547549    return NULL;
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