You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2006/01/31 11:02:40 UTC

svn commit: r373784 - in /webservices/axis2/trunk/c: modules/core/transport/http/http_status_line.c test/client/echo/echo_client.c

Author: samisa
Date: Tue Jan 31 02:02:09 2006
New Revision: 373784

URL: http://svn.apache.org/viewcvs?rev=373784&view=rev
Log:
Fixed the seg faulting errors

Modified:
    webservices/axis2/trunk/c/modules/core/transport/http/http_status_line.c
    webservices/axis2/trunk/c/test/client/echo/echo_client.c

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_status_line.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/http_status_line.c?rev=373784&r1=373783&r2=373784&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_status_line.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_status_line.c Tue Jan 31 02:02:09 2006
@@ -211,8 +211,8 @@
         AXIS2_FREE((*env)->allocator, status_line_impl->reason_phrase);
         status_line_impl->reason_phrase = NULL;
     }     
-    if(NULL != status_line->ops)
-        AXIS2_FREE((*env)->allocator, status_line->ops);
+    /*if(NULL != status_line->ops)
+        AXIS2_FREE((*env)->allocator, status_line->ops);*/
     
 	AXIS2_FREE((*env)->allocator, AXIS2_INTF_TO_IMPL(status_line));
 	return AXIS2_SUCCESS;

Modified: webservices/axis2/trunk/c/test/client/echo/echo_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/client/echo/echo_client.c?rev=373784&r1=373783&r2=373784&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/client/echo/echo_client.c (original)
+++ webservices/axis2/trunk/c/test/client/echo/echo_client.c Tue Jan 31 02:02:09 2006
@@ -71,7 +71,9 @@
     {
         printf("echo stub invoke successful!\n");
     }
-    AXIS2_SOAP_ENVELOPE_FREE(envelope, &env);
+    
+    if (envelope)
+        AXIS2_SOAP_ENVELOPE_FREE(envelope, &env);
     return status;
 }