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

Memory leak in DBClientReplicaSet::slaveConn

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.4.0-rc1
    • Fix Version/s: 2.4.2, 2.5.0
    • Component/s: Internal Client
    • Labels:
      None
    • Operating System:
      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

              • Assignee:
                renctan Randolph Tan
                Reporter:
                renctan Randolph Tan
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: