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
Loading
Please sign in to comment