clustc / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

Leak in Linux exception_handler.cc #592

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
While using the client on Linux I have encountered memory leak originating from 
ExceptionHandler::ExceptionHandler:

if (!handler_stack_)
    handler_stack_ = new std::vector<ExceptionHandler*>;

It seems that handler_stack_ is never deallocated, even after removal of last 
handler.

In Windows implementation, however, I found that it is being deallocated 
properly.

Shouldnt the behavior be the same in both cases ?

Original issue reported on code.google.com by albert.b...@sharkbits.com on 28 May 2014 at 2:15

GoogleCodeExporter commented 9 years ago

Original comment by thestig@chromium.org on 28 May 2014 at 5:08

GoogleCodeExporter commented 9 years ago
r1334

Original comment by thestig@chromium.org on 28 May 2014 at 6:01