Coverity analysis defect 175792: Resource leak

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines, Storage Engines - Foundations
    • 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/dhandle/bench_dhandle.c:611: RESOURCE_LEAK 175792 Storage is returned from allocation function "realloc".
      /bench/dhandle/bench_dhandle.c:611: RESOURCE_LEAK 175792 Assigning: "table_numbers" = storage returned from "realloc(table_numbers, 4UL * (size_t)table_count)".
      /bench/dhandle/bench_dhandle.c:634: RESOURCE_LEAK 175792 Variable "table_numbers" going out of scope leaks the storage it points to.

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

                Created:
                Updated: