File descriptor leak

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 0.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      All
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In mongo_connect_helper(), there is a file descriptor leak when connect() fails.
      This already fixed in a pull request: https://github.com/workless/mongo-c-driver/commit/3d75594ed16cb6f922bf28674b8597ef515bc357
      Please apply this patch (or at least the line that closes the socket).

            Assignee:
            Kyle Banker (Inactive)
            Reporter:
            nicks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: