added destructors to malicious otextension jni and fixed wrong declarations