|
The correct derived class destructor is not invoked due to the absence of a virtual destructor in the base class
Defect 101805 (STATIC_C)
Checker VIRTUAL_DTOR (subcategory none)
File: /src/mongo/db/modules/enterprise/src/watchdog/watchdog.h
Function mongo::DirectoryCheck::~DirectoryCheck()
/src/mongo/db/modules/enterprise/src/watchdog/watchdog.h, line: 62
Class "mongo::DirectoryCheck" has a destructor and a pointer to it is upcast to class "mongo::WatchdogCheck" which doesn't have a virtual destructor.
class DirectoryCheck : public WatchdogCheck {
|
|