fixed memory leak in class SocketAddress