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

Coverity analysis defect 171836: Resource leak

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: IDL
    • Server Programmability
    • Fully Compatible
    • ALL
    • 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
      /build/7a67446c/mongo/db/admission/ingress_admission_control_gen.cpp:35: RESOURCE_LEAK 171836 Assigning: "scp_1" = storage returned from "mongo::_mongoInitializerFunction_idl_54de3dd5dce1fb248ea7fccadadcb7684cb02604(mongo::InitializerContext *)::[lambda() (instance 2)]()()".
      /build/7a67446c/mongo/db/admission/ingress_admission_control_gen.cpp:42: RESOURCE_LEAK 171836 Variable "scp_1" 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:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None