VirtualBox

Changeset 69969 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Dec 7, 2017 10:55:04 AM (7 years ago)
Author:
vboxsync
Message:

log.cpp: flag the log instance as something that may leak.

File:
1 edited

Legend:

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

    r69779 r69969  
    809809    if (fFlags & RTLOGFLAGS_RESTRICT_GROUPS)
    810810        cbLogger += cGroups * sizeof(uint32_t);
    811     pLogger = (PRTLOGGER)RTMemAllocZVar(cbLogger);
     811    pLogger = (PRTLOGGER)RTMemAllocZVarTag(cbLogger, "may-leak:log-instance");
    812812    if (pLogger)
    813813    {
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