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

Leak in topologyVersion check

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.17.0
    • Affects Version/s: 1.17.0-beta
    • Component/s: None
    • None

      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.

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

              Created:
              Updated:
              Resolved: