Coverity analysis defect 138747: Resource leak

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT11.3.0, 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines
    • 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
      /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:
            Susan LoVerso (Inactive)
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: