VirtualBox

Ignore:
Timestamp:
Sep 2, 2020 3:27:35 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
140200
Message:

Debugger/VBoxDbgConsole: Fix memory leak on destruction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/VBoxDbgConsole.cpp

    r82968 r86004  
    639639    delete m_pFocusToOutput;
    640640    m_pFocusToOutput = NULL;
     641
     642    if (m_pszOutputBuf)
     643    {
     644        RTMemFree(m_pszOutputBuf);
     645        m_pszOutputBuf = NULL;
     646    }
    641647}
    642648
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