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

Clean up _upsertDetails in ~BatchedCommandResponse()

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.0-rc2
    • Affects Version/s: 2.6.0-rc1
    • Component/s: Write Ops
    • Labels:
    • ALL

      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().

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

              Created:
              Updated:
              Resolved: