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

Coverity analysis defect 98177: Resource leak

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:

      Description

      Leak of memory or pointers to system resources

      Defect 98177 (STATIC_C)
      Checker RESOURCE_LEAK (subcategory none)
      File: /src/third_party/wiredtiger/src/cursor/cur_backup.c
      Function __backup_list_uri_append
      /src/third_party/wiredtiger/src/cursor/cur_backup.c, line: 475
      Resource "value" is not freed or pointed-to in "__wt_fprintf".

          	WT_RET(__wt_fprintf(cb->bfp, "%s\n%s\n", name, value));

      /src/third_party/wiredtiger/src/cursor/cur_backup.c, line: 475
      Variable "value" going out of scope leaks the storage it points to.

          	WT_RET(__wt_fprintf(cb->bfp, "%s\n%s\n", name, value));

        Attachments

          Activity

            People

            Assignee:
            keith.bostic Keith Bostic
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: