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

Coverity analysis defect 114179: 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 114179 (STATIC_C)
      Checker RESOURCE_LEAK (subcategory none)
      File: /src/btree/bt_page.c
      Function __inmem_row_leaf
      /src/btree/bt_page.c, line: 607
      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:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: