Coverity analysis defect 175792: Resource leak

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines, Storage Engines - Foundations
    • SE Foundations - Q3+ Backlog
    • 1

      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:
            3 Start watching this issue

              Created:
              Updated: