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