I'm working on an android app and I have problem with memory leakage.
I have found the problem but my c++/jni knowledge is very limited so I do not know how to solve the problem.
I have a c++ jni and I don't know how to clean up after my self. Do I need to delete both jarray and visible_texture?
Can someone help me with the code that would solve this problem.
Thanks in advance!