Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
Platform 8 08/28/15
Description
Constructor allocates memory but destructor does not free it
Defect 11162 (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: 205
Assigning: "this->wait_for_ever_semaphore_" = "v8::internal::OS::CreateSemaphore(0)".
wait_for_ever_semaphore_(OS::CreateSemaphore(0)),
|
/src/third_party/v8/src/isolate.cc, line: 205
The constructor allocates field "wait_for_ever_semaphore_" of "v8::internal::PreallocatedMemoryThread" but there is no destructor.
wait_for_ever_semaphore_(OS::CreateSemaphore(0)),
|