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

Coverity analysis defect 156327: Resource leak

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • ALL
    • v8.0
    • Programmability 2024-06-10

      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
      /build/7a67446c/mongo/db/query/query_knobs_gen.cpp:1839: RESOURCE_LEAK 156327 Assigning: "scp_147" = storage returned from "mongo::_mongoInitializerFunction_idl_aa629c1d5e7ce5614728bd1d4f3e04442ceffe4e(mongo::InitializerContext *)::[lambda() (instance 148)]()()".
      /build/7a67446c/mongo/db/query/query_knobs_gen.cpp:1844: RESOURCE_LEAK 156327 Variable "scp_147" going out of scope leaks the storage it points to.

            Assignee:
            ronald.steinke@mongodb.com Ronald Steinke
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: