summaryrefslogtreecommitdiffstats
path: root/samples/server/mtom/mtom.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/server/mtom/mtom.c')
-rw-r--r--samples/server/mtom/mtom.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/samples/server/mtom/mtom.c b/samples/server/mtom/mtom.c
index f00b68b..3f10d70 100644
--- a/samples/server/mtom/mtom.c
+++ b/samples/server/mtom/mtom.c
@@ -245,14 +245,10 @@ axiom_node_t *build_response2(
axiom_node_t *text_node = NULL;
axiom_namespace_t *ns1 = NULL;
- ns1 =
- axiom_namespace_create(env, "http://ws.apache.org/axis2/c/samples",
- "ns1");
- mtom_om_ele =
- axiom_element_create(env, NULL, "response", ns1, &mtom_om_node);
-
- axiom_text_create_with_data_handler(env, mtom_om_node, data_handler,
- &text_node);
+ ns1 = axiom_namespace_create(env, "http://ws.apache.org/axis2/c/samples","ns1");
+ mtom_om_ele = axiom_element_create(env, NULL, "response", ns1, &mtom_om_node);
+ axiom_text_create_with_data_handler(env, mtom_om_node, data_handler, &text_node);
+ axiom_namespace_free(ns1, env);
return mtom_om_node;
}