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

Coverity analysis defect 135130: Resource leak

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • WT11.2.0, 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • 1
    • 2023-03-21 Ellen Ripley

      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
      /test/csuite/wt10461_skip_list_stress/main.c:141: RESOURCE_LEAK 135130 Assigning: "check_key.data" = storage returned from "dmalloc(3UL)".
      /test/csuite/wt10461_skip_list_stress/main.c:142: RESOURCE_LEAK 135130 Resource "(char *)check_key.data" is not freed or pointed-to in "sprintf".
      /test/csuite/wt10461_skip_list_stress/main.c:153: RESOURCE_LEAK 135130 Variable "check_key" going out of scope leaks the storage "check_key.data" points to.

            Assignee:
            andrew.morton@mongodb.com Andrew Morton
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: