VirtualBox

Changeset 12302 in vbox


Ignore:
Timestamp:
Sep 9, 2008 3:13:07 PM (16 years ago)
Author:
vboxsync
Message:

iprt: fixed RTMemExec leak in RTLogDestroy.

File:
1 edited

Legend:

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

    r12159 r12302  
    593593
    594594    /*
    595      * Free the mutex and the instance memory.
     595     * Free the mutex, the wrapper and the instance memory.
    596596     */
    597597    MutexSem = pLogger->MutexSem;
     
    607607    }
    608608
     609    if (pLogger->pfnLogger)
     610    {
     611        RTMemExecFree(*(void **)&pLogger->pfnLogger);
     612        pLogger->pfnLogger = NULL;
     613    }
    609614    RTMemFree(pLogger);
    610615
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