Now closing client socket after use

This commit is contained in:
Stefan Persson 2010-10-27 12:24:25 +00:00
parent 0a2748f84b
commit 7fe03d2dad

View file

@ -32,6 +32,9 @@ Socket::Socket(SOCKET_T socket)
}
Socket::~Socket(void) {
if(d->socket){
close(d->socket);
}
delete d;
}