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

Coverity analysis defect 156312: 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/sorter/sorter_gen.cpp:360: RESOURCE_LEAK 156312 Assigning: "scp_0" = storage returned from "mongo::_mongoInitializerFunction_idl_73eb0d4c734b09cf78881729514cf0d2a81731dd(mongo::InitializerContext *)::[lambda() (instance 1)]()()".
      /build/7a67446c/mongo/db/sorter/sorter_gen.cpp:367: RESOURCE_LEAK 156312 Variable "scp_0" 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: