[SERVER-18686] Coverity analysis defect 11161: 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 11161 (STATIC_C)
Checker CTOR_DTOR_LEAK (subcategory none)
File: /src/third_party/v8/src/isolate.cc
Function v8::internal::PreallocatedMemoryThread::PreallocatedMemoryThread()
/src/third_party/v8/src/isolate.cc, line: 206
Assigning: "this->data_ready_semaphore_" = "v8::internal::OS::CreateSemaphore(0)".

            data_ready_semaphore_(OS::CreateSemaphore(0)),

/src/third_party/v8/src/isolate.cc, line: 206
The constructor allocates field "data_ready_semaphore_" of "v8::internal::PreallocatedMemoryThread" but there is no destructor.

            data_ready_semaphore_(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:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.