|
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)),
|
|