Coverity analysis defect 121384: Resource leak (version cursor)

XMLWordPrintableJSON

    • Storage - Ra 2022-02-07, Storage - Ra 2022-02-21
    • 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
      /src/third_party/wiredtiger/src/cursor/cur_version.c:631: RESOURCE_LEAK 121384 Assigning: "cursor" = "version_cursor".
      /src/third_party/wiredtiger/src/cursor/cur_version.c:675: RESOURCE_LEAK 121384 Variable "version_cursor" going out of scope leaks the storage it points to.
      /src/third_party/wiredtiger/src/cursor/cur_version.c:675: RESOURCE_LEAK 121384 Variable "cursor" going out of scope leaks the storage it points to.

              Assignee:
              Etienne Petrel
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: