diff options
Diffstat (limited to 'src/net/network.cpp')
-rw-r--r-- | src/net/network.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/network.cpp b/src/net/network.cpp index bd0e2444..757a533e 100644 --- a/src/net/network.cpp +++ b/src/net/network.cpp @@ -112,8 +112,8 @@ Network::~Network() SDL_DestroyMutex(mMutex); - delete mInBuffer; - delete mOutBuffer; + delete[] mInBuffer; + delete[] mOutBuffer; } bool Network::connect(const std::string &address, short port) |