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

Coverity analysis defect 121384: Resource leak (version cursor)

    • 1
    • Storage - Ra 2022-02-07, Storage - Ra 2022-02-21

      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@mongodb.com Etienne Petrel
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: