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

RangeDeleter destructor does not free DeleteJobStats objects

    • Fully Compatible
    • ALL

      The RangeDeleter destructor walks several internal data structures and deletes all of the objects owned by those data structures.

      However, the _statsHistory std::deque is not walked, so any DeleteJobStats objects held within the deque are leaked.

      For normal operations, the RangeDeleter is an immortal singleton, so the impact of this bug is slight, but when a RangeDeleter is used in unit tests, the leak is apparent.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: