...maybe this is not a problem in this concrete example, but when someone is deriving code from it and is extending it, it might lead to leaks when dtors of derived classes are not called properly (Item 7 in Scott Meyers Effective C++). See cfx::Controller and cfx::BasicController.
...maybe this is not a problem in this concrete example, but when someone is deriving code from it and is extending it, it might lead to leaks when dtors of derived classes are not called properly (Item 7 in Scott Meyers Effective C++). See cfx::Controller and cfx::BasicController.