Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
Description
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;
|