mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 20:17:05 +00:00
remove call to close
This commit is contained in:
1 parent
d8a9da2044
commit
da148c0dd4
2 files changed
+1
-2
No files matched your search
@@ -459,7 +459,6 @@ int tport_ws_init_secondary(tport_t *self, int socket, int accepted,
|
||||
|
||||
if (ws_init(&wstp->ws, socket, wstp->ws_secure ? wspri->ssl_ctx : NULL, 0) < 0) {
|
||||
ws_destroy(&wstp->ws);
|
||||
su_close(socket);
|
||||
wstp->ws_initialized = -1;
|
||||
return *return_reason = "WS_INIT", -1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user