[SERVER-17868] Coverity analysis defect 17143: Resource leak Created: 02/Apr/15  Updated: 02/Aug/18  Resolved: 07/Apr/15

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

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

Backwards Compatibility: Fully Compatible
Participants:

 Description   

A new defect has been detected and assigned to renctan in Coverity Connect.
http://coverity.mongodb.com//sourcebrowser.htm?projectId=10001#mergedDefectId=17143
The defect was flagged by checker RESOURCE_LEAK in
file /src/mongo/s/write_ops/batched_request_metadata.cpp
function mongo::BatchedRequestMetadata::parseBSON(const mongo::BSONObj &, std::basic_string<char, std::char_traits<char>, std::allocator<char>>*)
and this ticket was created by renctan



 Comments   
Comment by Githook User [ 07/Apr/15 ]

Author:

{u'username': u'alabid', u'name': u'Daniel Alabi', u'email': u'alabidan@gmail.com'}

Message: SERVER-17868 Fix potential resource leak in BatchedRequestMetadata::parseBSON
Branch: master
https://github.com/mongodb/mongo/commit/74c680e8aa3ec2ac507ab139edca679005f4e249

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