VirtualBox

Changeset 93815 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Feb 16, 2022 10:28:35 PM (3 years ago)
Author:
vboxsync
Message:

iprt/RTExprEval: Fix small memory leak. bugref:9781

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/expreval.cpp

    r93178 r93815  
    26012601    {
    26022602        pThis->u32Magic = ~RTEXPREVAL_MAGIC;
     2603        if (pThis->pszName)
     2604        {
     2605            RTStrFree(pThis->pszName);
     2606            pThis->pszName = NULL;
     2607        }
    26032608        RTMemFree(pThis);
    26042609        return 0;
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