Hi All, I am using axis2/c 1.5+ (checked out from trunk roughly one and half month before 1.6 release) for ws client. I have built my application first using 1.3. I notice that one piece of my code for freeing resources goes working fine in 1.3, crashes in 1.5+ and now working again in 1.6. I need to figure out what caused the crash in 1.5+ and what change make it work again in 1.6, as I am not ready yet to upgrade fully to 1.6. Please help me if you can. Thanks in advance!
Here is the code: //freeing resources //axiom_output_t* om_output if (om_output) { axiom_output_free(om_output, env); om_output = NULL; } // axis2_svc_client_t* wsf_service_client if (wsf_service_client) { axis2_svc_client_free(wsf_service_client, env); wsf_service_client = NULL; } //axiom_stax_builder_t* om_builder if(om_builder) { axiom_stax_builder_free(om_builder, env); om_builder = NULL; } //axutil_env_t* env if (env) { axutil_env_free((axutil_env_t *) env); env = NULL; } I am using axiom_output_t* to serialize ws reply node (together with xml_write), and using axiom_stax_builder_t* to create the request payload. Thanks again! Vivian