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

Memory leak in DBClientReplicaSet::slaveConn

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.4.2, 2.5.0
    • Affects Version/s: 2.4.0-rc1
    • Component/s: Internal Client
    • Labels:
      None
    • ALL

      Coverity flagged a resource leak here. new TagSet(emptyArray) allocates memory but ReadPreferenceSetting clones it, ends up leaked.

      http://cov1.bci.10gen.cc:8080/reports.htm#v10007/p10001/defectInstanceId=195242

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: