[SERVER-15635] ListeningSocket::closeAll does not free previous 'sockets' and 'paths' containers Created: 13/Oct/14  Updated: 03/Mar/15  Resolved: 16/Oct/14

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 2.7.8

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: 28qa, address-sanitizer, leak-sanitizer, memory-leak
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

In ListeningSockets::closeAll, replacement instances of the two sets are created. While the old instances are walked and owned pointers are deleted, the old data structure objects themselves are leaked.

This is unlikely to adversely affect real world code but does create memory leaks in some tests.



 Comments   
Comment by Githook User [ 16/Oct/14 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-15635 Free data structures in ListeningSocket::closeAll
Branch: master
https://github.com/mongodb/mongo/commit/8fb060ec43976f440eb378fff573a4a46d425334

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