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 11163 (STATIC_C)
Checker CTOR_DTOR_LEAK (subcategory none)
File: /src/third_party/v8/src/log.cc
Function v8::internal::Profiler::Profiler(v8::internal::Isolate *)
/src/third_party/v8/src/log.cc, line: 275
Assigning: "this->buffer_semaphore_" = "v8::internal::OS::CreateSemaphore(0)".
buffer_semaphore_(OS::CreateSemaphore(0)),
|
/src/third_party/v8/src/log.cc, line: 275
The constructor allocates field "buffer_semaphore_" of "v8::internal::Profiler" but there is no destructor.
buffer_semaphore_(OS::CreateSemaphore(0)),
|