[SERVER-24051] NumberDecimalInfo::make calling construct causes memory leaks Created: 04/May/16  Updated: 16/May/16  Resolved: 04/May/16

Status: Closed
Project: Core Server
Component/s: JavaScript
Affects Version/s: None
Fix Version/s: 3.3.6

Type: Bug Priority: Major - P3
Reporter: Matt Cotter Assignee: Matt Cotter
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 14 (05/13/16)
Participants:
Linked BF Score: 0

 Comments   
Comment by Githook User [ 04/May/16 ]

Author:

{u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}

Message: SERVER-24051 fix leak in NumberDecimalInfo::make

This previously called the constructor
(NumberDecimalInfo::construct) and then created a new pointer and
stored that. The underlying value from the constructor was leaked.
Branch: master
https://github.com/mongodb/mongo/commit/47fc89f86339b2fc4327eec485ff04030ee02173

Generated at Thu Feb 08 04:05:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.