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

Clean up _upsertDetails in ~BatchedCommandResponse()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.6.0-rc1
    • 2.6.0-rc2
    • Write Ops
    • ALL

    Description

      Vector _upsertDetails owns its members, so we should unset _upsertDetails in the deconstructor of BatchedCommandResponse. Otherwise it will cause a memory leak in BatchedCommandResponse::cloneTo().

      Attachments

        Activity

          People

            siyuan.zhou@mongodb.com Siyuan Zhou
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: