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

Coverity analysis defect 134305: Resource leak

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

      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/server_feature_flags_gen.cpp:124: RESOURCE_LEAK 134305 Assigning: "scp_9" = storage returned from "mongo::_mongoInitializerFunction_idl_c4a3d7ff4ec84580bd8ce1f3d0f1aae486a07274(mongo::InitializerContext *)::[lambda() (instance 10)]()()".
      /build/7a67446c/mongo/db/server_feature_flags_gen.cpp:265: RESOURCE_LEAK 134305 Variable "scp_9" 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:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: