diff options
-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; } |