Suvarna1488 / webm

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

Fix mem leak in webm_crypt #938

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Adding base::AtExitManager variable fixed the compile problem see. 
https://code.google.com/p/webm/issues/detail?id=925

But now there is a memory leak. If you change base::AtExitManager to be a local 
variable, or delete the pointer, or change it to a unique_ptr<>, webm_crypt 
will crash with a message like "Error in `./webm_crypt': free(): invalid 
pointer:"

Original issue reported on code.google.com by fgalli...@google.com on 30 Jan 2015 at 4:59