From 0cce141d76acdcc1971d897bb98ca01876cd9032 Mon Sep 17 00:00:00 2001 From: samisa Date: Tue, 30 Aug 2011 14:24:57 +0000 Subject: Applied patch given in AXIS2C-1557 to close the socket when in error git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1163227 13f79535-47bb-0310-9956-ffa450edef68 --- util/src/network_handler.c | 1 + 1 file changed, 1 insertion(+) (limited to 'util/src') diff --git a/util/src/network_handler.c b/util/src/network_handler.c index 40c9723..f31fe6c 100644 --- a/util/src/network_handler.c +++ b/util/src/network_handler.c @@ -95,6 +95,7 @@ axutil_network_handler_open_socket( } else { + AXIS2_CLOSE_SOCKET(sock); AXIS2_ERROR_SET(env->error, AXIS2_ERROR_INVALID_ADDRESS, AXIS2_FAILURE); return AXIS2_INVALID_SOCKET; } -- cgit v1.1-32-gdbae