diff options
author | Sebastien Hertz <shertz@google.com> | 2015-10-21 16:18:58 +0200 |
---|---|---|
committer | Sebastien Hertz <shertz@google.com> | 2015-10-21 16:22:59 +0200 |
commit | 358bcaf13ec288ee45be8fc53cb09170c1b8a8f1 (patch) | |
tree | cee1b848ae498b4d59b88c4273b3c4544d6b430a /test/ProfileTestMultiDex | |
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
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions