Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Win32/64
Description
The function axis2_op_create_with_qname() clones the name argument, so the ownership of the original argument remains with the caller. So we should free the allocated name:
op_qname = axutil_qname_create(env,
"div" ,
"http://localhost/axis/Calculator",
NULL);
op = axis2_op_create_with_qname(env, op_qname);
axutil_qname_free(op_qname,env); /* line added */