X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcontrol.c;h=f7d67ac3f763366edce35840078a74eb1a9aeacb;hb=refs%2Fheads%2F1.1-brainpool;hp=1f562134d4f7517d8e2c8a1dd71a3a1817758844;hpb=b180c1af99c559809d0e7b23fce3022817ec56a9;p=tinc diff --git a/src/control.c b/src/control.c index 1f562134..f7d67ac3 100644 --- a/src/control.c +++ b/src/control.c @@ -215,6 +215,7 @@ bool init_control(void) { void exit_control(void) { #ifndef HAVE_MINGW + unlink(unixsocketname); io_del(&unix_socket); close(unix_socket.fd); #endif