commit | 358bcaf13ec288ee45be8fc53cb09170c1b8a8f1 | [log] [tgz] |
---|---|---|
author | Sebastien Hertz <shertz@google.com> | Wed Oct 21 16:18:58 2015 +0200 |
committer | Sebastien Hertz <shertz@google.com> | Wed Oct 21 16:22:59 2015 +0200 |
tree | cee1b848ae498b4d59b88c4273b3c4544d6b430a | |
parent | 66e33f1906be899f140d5fe2a657db4e3993106e [diff] |
JDWP: fix possible JdwpEvent memory leak Fixes possible memory leak when registering new JdwpEvent but the Count modifier is invalid. This is done by using a std::unique_ptr with a custom delete function. It also allows to easily introduce more modifier checks in the future. Bug: 14076832 Change-Id: I339ffb1297165ff85ab924e5e7618d336df5612b