VirtualBox

Ignore:
Timestamp:
Jun 3, 2019 7:05:16 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131064
Message:

Main/HostDnsService: Fixed a memory leak; was not deleting the monitor implementation instance on uninit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/HostDnsService.cpp

    r77993 r78941  
    312312    if (m)
    313313    {
    314         m->pMonitorImpl->uninit();
     314        if (m->pMonitorImpl)
     315        {
     316            m->pMonitorImpl->uninit();
     317
     318            delete m->pMonitorImpl;
     319            m->pMonitorImpl = NULL;
     320        }
    315321
    316322        delete m;
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