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

Coverity analysis defect 116745: Resource leak

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            kevin.albertson@mongodb.com Kevin Albertson
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: