Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-92392

Define virtual destructor for 'IDLAnyType'

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution

      'IDLAnyTypeOwned' is derived from 'IDLAnyType', but the base class lacks a virtual destructor. This could lead to the case in which a child class instance is destructed incorrectly if the pointer was upcasted to the base class type.

            Assignee:
            catalin.sumanaru@mongodb.com Catalin Sumanaru
            Reporter:
            catalin.sumanaru@mongodb.com Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: