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

Coverity analysis defect 163824: 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:673: RESOURCE_LEAK 163824 "curl_url_get" allocates memory that is stored into "scheme".
      /data/bazel_cache/1de52aaeb35278243ca29a4785ce7969/execroot/_main_/src/mongo/db/modules/enterprise/src/streams/exec/https_operator.cpp:678: RESOURCE_LEAK 163824 Resource "scheme" 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:744: RESOURCE_LEAK 163824 Variable "scheme" 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: