close correct socket after faulty jingle socks connection

This commit is contained in:
Daniel Gultsch 2019-09-20 10:00:57 +02:00
parent 5e1d2a92a6
commit ed46d12115
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ public class JingleSocks5Transport extends JingleTransport {
this.isEstablished = true;
FileBackend.close(serverSocket);
} else {
this.socket.close();
FileBackend.close(socket);
}
} else {
socket.close();