commit | f4fbf7fdff5a40c54a932073209ae9c224d729e3 | [log] [tgz] |
---|---|---|
author | Jim Stichnoth <stichnot@chromium.org> | Sat Aug 08 08:37:02 2015 -0700 |
committer | Jim Stichnoth <stichnot@chromium.org> | Sat Aug 08 08:37:02 2015 -0700 |
tree | 934993e3f4548f2ce44fdc71aaea380d0f49dc2b | |
parent | aa0ce790f7426ad3be6e3c648ba84abbf1928378 [diff] |
Subzero: Fix a memory leak. The problem was that Translator and subclasses need to have virtual destructors since they are used as unique_ptr<>. As a result, only the Translator base class destructor was being invoked. BUG= https://code.google.com/p/nativeclient/issues/detail?id=4290 TEST= make -f Makefile.standalone ASAN=1 check-lit R=ascull@google.com Review URL: https://codereview.chromium.org/1281003003.