Coverity analysis defect 116745: Resource leak

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Resource leak

      The system resource will not be reclaimed and reused, reducing the future availability of the resource. Leak of memory or pointers to system resources
      /src/libmongoc/tests/unified/runner.c:640: RESOURCE_LEAK 116745 Assigning: "db" = storage returned from "mongoc_client_get_database(test_runner->internal_client, database_name)".
      /src/libmongoc/tests/unified/runner.c:658: RESOURCE_LEAK 116745 Variable "db" going out of scope leaks the storage it points to.

            Assignee:
            Kevin Albertson
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: