Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-28835

Fix a memory leak in WiredTiger on error when creating thread group

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.7
    • Affects Version/s: None
    • Component/s: WiredTiger
    • Labels:
    • Fully Compatible
    • ALL
    • Storage 2017-05-08

      Coverity analysis defect 101330: Resource leak

      Leak of memory or pointers to system resources

      Defect 101330 (STATIC_C)
      Checker RESOURCE_LEAK (subcategory none)
      File: /src/third_party/wiredtiger/src/support/thread_group.c
      Function __thread_group_resize
      /src/third_party/wiredtiger/src/support/thread_group.c, line: 211
      Variable "thread" going out of scope leaks the storage it points to.

          		WT_PANIC_RET(session, ret, "Error while resizing thread group");
      

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: