diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-19 18:55:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-19 18:55:24 +0300 |
commit | 22fe614f7a528b209fc2075cf76274fbcb780814 (patch) | |
tree | 5b46e683eef05e4088c8596bba1eb5d4d1ee6c7f /src/net/ipc.h | |
parent | 5a5d0398820a482a88f878638e74ccad6f2d2c50 (diff) | |
download | plus-22fe614f7a528b209fc2075cf76274fbcb780814.tar.gz plus-22fe614f7a528b209fc2075cf76274fbcb780814.tar.bz2 plus-22fe614f7a528b209fc2075cf76274fbcb780814.tar.xz plus-22fe614f7a528b209fc2075cf76274fbcb780814.zip |
Fix memory leak with ipc port selection.
Diffstat (limited to 'src/net/ipc.h')
-rw-r--r-- | src/net/ipc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ipc.h b/src/net/ipc.h index b9960abce..611dba35c 100644 --- a/src/net/ipc.h +++ b/src/net/ipc.h @@ -49,6 +49,9 @@ public: static void stop(); private: + void setPort(const unsigned short port) + { mPort = port; } + bool mListen; unsigned int mNumReqs; unsigned short mPort; |