[SERVER-18681] Coverity analysis defect 11157: 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 11157 (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: 53
Assigning: "this->listening_" = "v8::internal::OS::CreateSemaphore(0)".

            listening_(OS::CreateSemaphore(0)) {

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

            listening_(OS::CreateSemaphore(0)) {



 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.