Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3753

Leak in topologyVersion check

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.17.0
    • 1.17.0-beta
    • None
    • None

    Description

      CDRIVER-3535 introduced a leak in the topologyVersion check here:
      https://github.com/mongodb/mongo-c-driver/commit/857d9de942b01ad48b1baa4d5ca2bb0cd05b4c96#diff-e697725d889d95aad42f045b28d66faeR1956

      If the SDAM monitoring topology_changed callback is set, prev_td will have been allocated, and is not destroyed.

      Attachments

        Activity

          People

            kevin.albertson@mongodb.com Kevin Albertson
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: