-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Fully Compatible
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Leak of memory or pointers to system resources
Defect 72714 (STATIC_C)
Checker RESOURCE_LEAK (subcategory none)
File: /src/mongo/client/remote_command_runner_impl.cpp
Function mongo::<unnamed>::runDownconvertedFindCommand(mongo::DBClientConnection *, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, const mongo::BSONObj &, mongo::BSONObj *)
/src/mongo/client/remote_command_runner_impl.cpp, line: 109
Variable "lpqRaw" going out of scope leaks the storage it points to.
return status;