diff options
author | samisa | 2011-08-30 14:24:57 +0000 |
---|---|---|
committer | samisa | 2011-08-30 14:24:57 +0000 |
commit | 0cce141d76acdcc1971d897bb98ca01876cd9032 (patch) | |
tree | 3a5ce187e43381dd8b74c750e34f38eed0445fc7 /util | |
parent | dabed7f7bb4b08eb494129a7a1fab73dfdf02b78 (diff) | |
download | axis2c-0cce141d76acdcc1971d897bb98ca01876cd9032.tar.gz axis2c-0cce141d76acdcc1971d897bb98ca01876cd9032.tar.bz2 |
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
Diffstat (limited to 'util')
-rw-r--r-- | util/src/network_handler.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |