__live_restore_fs_create_stop_file_locked doesn't close the file handle when WT_ERR fires

XMLWordPrintableJSON

    • 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
      /src/live_restore/live_restore_fs.c:127: RESOURCE_LEAK 173284 Variable "fh" going out of scope leaks the storage it points to.

              Assignee:
              Andrew Morton
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: