fixed memory leak in JNI_camera_close()