Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit edb14a49 authored by Syed Ibrahim M's avatar Syed Ibrahim M Committed by Android (Google) Code Review
Browse files

Fix for memory leak in AdapterSertvice.cpp : The native jobjectArray and...

Fix for memory leak in AdapterSertvice.cpp : The native jobjectArray and jintArray instances are being declared and de-referenced in adapter_properties_callback() and remote_device_properties_callback() methods but is being initialized in get_properties() method. Becasuse of this, when the get_properties() method returns, VM looses reference to the native instances and hence leading to memory leak.

Change-Id: I48944887903a492a40cb95f5f79a56b9d58f85fa
parent 206363c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment