Coverity analysis defect 163824: Resource leak

XMLWordPrintableJSON

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

      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:
              Nathan Frank
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: