Clean up _upsertDetails in ~BatchedCommandResponse()

XMLWordPrintableJSON

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

      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
              Reporter:
              Siyuan Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: