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

Coverity analysis defect 114173: Resource leak

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 2
    • Storage - Ra 2020-06-15

      Leak of memory or pointers to system resources

      Defect 114173 (STATIC_C)
      Checker RESOURCE_LEAK (subcategory none)
      File: /src/btree/bt_delete.c
      Function __wt_delete_page_instantiate
      /src/btree/bt_delete.c, line: 372
      Overwriting "upd_array" in "upd_array = page->modify->u2.row_leaf.update" leaks the storage that "upd_array" points to.

              upd_array = page->modify->mod_row_update;
      

            Assignee:
            ravi.giri@mongodb.com Ravi Giri
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: