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

Memory leak in DBClientReplicaSet::slaveConn

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.4.2, 2.5.0
    • 2.4.0-rc1
    • Internal Client
    • None
    • ALL

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: