Fix last obvious leak

This commit is contained in:
Alex Hultman
2018-12-30 18:02:57 +01:00
parent 339e2d72dc
commit ed7222e513
5 changed files with 14 additions and 46 deletions
+3
View File
@@ -238,6 +238,9 @@ private:
//std::cout << "close!" << std::endl;
WebSocketData *webSocketData = (WebSocketData *) (static_dispatch(us_ssl_socket_ext, us_socket_ext)(s));
webSocketData->~WebSocketData();
return s;