summaryrefslogtreecommitdiffstats
path: root/axiom/src
diff options
context:
space:
mode:
Diffstat (limited to 'axiom/src')
-rw-r--r--axiom/src/attachments/mime_parser.c5
-rw-r--r--axiom/src/soap/soap_envelope.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/axiom/src/attachments/mime_parser.c b/axiom/src/attachments/mime_parser.c
index f36286c..9da9c9f 100644
--- a/axiom/src/attachments/mime_parser.c
+++ b/axiom/src/attachments/mime_parser.c
@@ -297,6 +297,11 @@ axiom_mime_parser_free(
mime_parser->len_array = NULL;
}
+ if(mime_parser->mime_boundary)
+ {
+ AXIS2_FREE(env->allocator, mime_parser->mime_boundary);
+ }
+
if(mime_parser)
{
AXIS2_FREE(env->allocator, mime_parser);
diff --git a/axiom/src/soap/soap_envelope.c b/axiom/src/soap/soap_envelope.c
index 48e10f7..390d4a4 100644
--- a/axiom/src/soap/soap_envelope.c
+++ b/axiom/src/soap/soap_envelope.c
@@ -433,6 +433,7 @@ axiom_soap_envelope_create_default_soap_envelope(
return NULL;
}
soap_envelope = axiom_soap_envelope_create(env, om_ns);
+ axiom_namespace_free(om_ns, env);
soap_header = axiom_soap_header_create_with_parent(env, soap_envelope);
soap_body = axiom_soap_body_create_with_parent(env, soap_envelope);
@@ -449,6 +450,7 @@ axiom_soap_envelope_create_default_soap_envelope(
return NULL;
}
soap_envelope = axiom_soap_envelope_create(env, om_ns);
+ axiom_namespace_free(om_ns, env);
soap_header = axiom_soap_header_create_with_parent(env, soap_envelope);
soap_body = axiom_soap_body_create_with_parent(env, soap_envelope);