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

Memory leak in DBClientReplicaSet::slaveConn

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.4.0-rc1
    • 2.4.2, 2.5.0
    • 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

        Issue Links

          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: