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/s/sharding_feature_flags_gen.cpp:224: RESOURCE_LEAK 145305 Assigning: "scp_22" = storage returned from "mongo::_mongoInitializerFunction_idl_01cf03ec221805c1ad4e1490538b186c797fdc44(mongo::InitializerContext *)::[lambda() (instance 23)]()()".
/build/7a67446c/mongo/s/sharding_feature_flags_gen.cpp:229: RESOURCE_LEAK 145305 Variable "scp_22" going out of scope leaks the storage it points to.
- is duplicated by
-
SERVER-90792 Coverity analysis defect 156278: Resource leak
- Closed
- is related to
-
SERVER-90792 Coverity analysis defect 156278: Resource leak
- Closed