[SERVER-18683] Coverity analysis defect 11158: Resource leak in object Created: 27/May/15  Updated: 08/Jan/24  Resolved: 24/Aug/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: Andrew Morrow (Inactive)
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
Sprint: Platform 8 08/28/15
Participants:

 Description   

Constructor allocates memory but destructor does not free it

Defect 11158 (STATIC_C)
Checker CTOR_DTOR_LEAK (subcategory none)
File: /src/third_party/v8/src/debug-agent.h
Function v8::internal::DebuggerAgent::DebuggerAgent(const char *, int)
/src/third_party/v8/src/debug-agent.h, line: 51
Assigning: "this->session_access_" = "v8::internal::OS::CreateMutex()".

            session_access_(OS::CreateMutex()), session_(NULL),

/src/third_party/v8/src/debug-agent.h, line: 51
The constructor allocates field "session_access_" of "v8::internal::DebuggerAgent" but the destructor and whatever functions it calls do not free it.

            session_access_(OS::CreateMutex()), session_(NULL),



 Comments   
Comment by Andrew Morrow (Inactive) [ 24/Aug/15 ]

V8 support has been removed in SERVER-19378

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