diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-08 20:57:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-08 20:57:38 +0300 |
commit | 275cc0d950621404b8284f324e08a218c7f681c9 (patch) | |
tree | fb44a808193517575f0f4cf927563c2de2838b6a /src/net/ipc.cpp | |
parent | c594e25496f682ffe9ef63f1c25e0ac5156bbdcd (diff) | |
download | manaplus-275cc0d950621404b8284f324e08a218c7f681c9.tar.gz manaplus-275cc0d950621404b8284f324e08a218c7f681c9.tar.bz2 manaplus-275cc0d950621404b8284f324e08a218c7f681c9.tar.xz manaplus-275cc0d950621404b8284f324e08a218c7f681c9.zip |
Fix leaks in ipc.
Diffstat (limited to 'src/net/ipc.cpp')
-rw-r--r-- | src/net/ipc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/ipc.cpp b/src/net/ipc.cpp index c694417c9..e77cad713 100644 --- a/src/net/ipc.cpp +++ b/src/net/ipc.cpp @@ -145,6 +145,7 @@ int IPC::acceptLoop(void *ptr) TcpNet::closeSocket(sock); } TcpNet::closeSocket(ipc1->mSocket); + TcpNet::freeSocketSet(set); ipc1->mSocket = nullptr; ipc1->mThread = nullptr; return 0; |