fixed wax_copyToObjc potential memory leak warning caused by pointer