[SERVER-18707] Coverity analysis defect 72714: Resource leak Created: 28/May/15  Updated: 29/May/15  Resolved: 29/May/15

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 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;



 Comments   
Comment by Randolph Tan [ 29/May/15 ]

Not a bug. see SERVER-18713.

Generated at Thu Feb 08 03:48:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.