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

Coverity analysis defect 138747: Resource leak

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.3.0, 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • 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
      /bench/wtperf/wtperf_misc.c:152: RESOURCE_LEAK 138747 Assigning: "buf" = storage returned from "dmalloc(131072UL)".
      /bench/wtperf/wtperf_misc.c:157: RESOURCE_LEAK 138747 Resource "buf" is not freed or pointed-to in "read".
      /bench/wtperf/wtperf_misc.c:157: RESOURCE_LEAK 138747 Resource "buf" is not freed or pointed-to in "read".
      /bench/wtperf/wtperf_misc.c:143: RESOURCE_LEAK 138747 Overwriting "buf" in "buf = dmalloc(len)" leaks the storage that "buf" points to.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: