Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-13455

Coverity analysis defect 138753: Resource leak

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Not Applicable
    • None
    • Storage Engines

      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
      /tools/checksum_bitflip/checksum_bitflip.c:75: RESOURCE_LEAK 138753 Returning handle opened by "open".
      /tools/checksum_bitflip/checksum_bitflip.c:75: RESOURCE_LEAK 138753 Assigning: "fd" = handle returned from "open(filename, 0)".
      /tools/checksum_bitflip/checksum_bitflip.c:77: RESOURCE_LEAK 138753 Resource "fd" is not freed or pointed-to in "fstat". [Note: The source code implementation of the function has been overridden by a builtin model.]
      /tools/checksum_bitflip/checksum_bitflip.c:82: RESOURCE_LEAK 138753 Resource "fd" is not freed or pointed-to in "read".
      /tools/checksum_bitflip/checksum_bitflip.c:109: RESOURCE_LEAK 138753 Handle variable "fd" going out of scope leaks the handle.

            Assignee:
            Unassigned Unassigned
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: