From 6a4307a3703b0a19abe728266deea5381145dadb Mon Sep 17 00:00:00 2001 From: shankar Date: Mon, 5 Apr 2010 05:59:47 +0000 Subject: Fixing memory leaks git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@930802 13f79535-47bb-0310-9956-ffa450edef68 --- axiom/src/soap/soap_envelope.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'axiom/src/soap/soap_envelope.c') 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); -- cgit v1.1-32-gdbae