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

Coverity analysis defect 163820: Resource leak

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Atlas Streams
    • ALL

      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
      /data/bazel_cache/1de52aaeb35278243ca29a4785ce7969/execroot/_main_/src/mongo/db/modules/enterprise/src/streams/exec/https_operator.cpp:809: RESOURCE_LEAK 163820 "curl_url_get" allocates memory that is stored into "out".
      /data/bazel_cache/1de52aaeb35278243ca29a4785ce7969/execroot/_main_/src/mongo/db/modules/enterprise/src/streams/exec/https_operator.cpp:811: RESOURCE_LEAK 163820 Resource "out" is not freed or pointed-to in "basic_string". [Note: The source code implementation of the function has been overridden by a builtin model.]
      /data/bazel_cache/1de52aaeb35278243ca29a4785ce7969/execroot/_main_/src/mongo/db/modules/enterprise/src/streams/exec/https_operator.cpp:811: RESOURCE_LEAK 163820 Variable "out" going out of scope leaks the storage it points to.

            Assignee:
            Unassigned Unassigned
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: