You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2007/08/31 06:55:33 UTC
svn commit: r571377 - in
/webservices/axis2/trunk/c/src/core/transport/http/sender: http_sender.c
libcurl/axis2_libcurl.c
Author: nandika
Date: Thu Aug 30 21:55:32 2007
New Revision: 571377
URL: http://svn.apache.org/viewvc?rev=571377&view=rev
Log:
double free problem with content type fixed
Modified:
webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c
webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/axis2_libcurl.c
Modified: webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c?rev=571377&r1=571376&r2=571377&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c Thu Aug 30 21:55:32 2007
@@ -451,7 +451,6 @@
temp_content_type = axutil_stracat(env,
content_type,
";action=\"");
- AXIS2_FREE(env->allocator, content_type);
content_type = temp_content_type;
temp_content_type = axutil_stracat(env,
content_type,
@@ -464,6 +463,9 @@
AXIS2_FREE(env->allocator, content_type);
content_type = temp_content_type;
}
+ }else
+ {
+ content_type_deepl_copy = AXIS2_FALSE;
}
}
else if (AXIS2_TRUE == axis2_msg_ctx_get_is_soap_11(msg_ctx, env))
Modified: webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/axis2_libcurl.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/axis2_libcurl.c?rev=571377&r1=571376&r2=571377&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/axis2_libcurl.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/axis2_libcurl.c Thu Aug 30 21:55:32 2007
@@ -195,7 +195,6 @@
{
axis2_char_t *temp_content_type = NULL;
temp_content_type = axutil_stracat(env, content_type, ";action=");
- AXIS2_FREE(env->allocator, content_type);
content_type = temp_content_type;
temp_content_type = axutil_stracat(env, content_type, soap_action);
AXIS2_FREE(env->allocator, content_type);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org