Memory leak detection based on Android Ndk/Jni