Fixed arthimatic, native func call, and script func call for leaks.