summaryrefslogtreecommitdiff
path: root/src/net/messagein.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/messagein.cpp')
-rw-r--r--src/net/messagein.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/messagein.cpp b/src/net/messagein.cpp
index e3f8c28e..6086e096 100644
--- a/src/net/messagein.cpp
+++ b/src/net/messagein.cpp
@@ -145,7 +145,7 @@ MessageIn::readString(int length)
mPos += stringLength;
readString = tmpString;
- delete tmpString;
+ delete[] tmpString;
return readString;
}