|
Constructor allocates memory but destructor does not free it
Defect 11159 (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: 52
Assigning: "this->terminate_now_" = "v8::internal::OS::CreateSemaphore(0)".
terminate_now_(OS::CreateSemaphore(0)),
|
/src/third_party/v8/src/debug-agent.h, line: 52
The constructor allocates field "terminate_now_" of "v8::internal::DebuggerAgent" but the destructor and whatever functions it calls do not free it.
terminate_now_(OS::CreateSemaphore(0)),
|
|