summaryrefslogtreecommitdiffstats
path: root/src/messagein.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/messagein.cpp')
-rw-r--r--src/messagein.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messagein.cpp b/src/messagein.cpp
index f5eaefe..8434f30 100644
--- a/src/messagein.cpp
+++ b/src/messagein.cpp
@@ -116,7 +116,7 @@ std::string MessageIn::readString(int length)
mPos += stringLength;
readString = tmpString;
- delete tmpString;
+ delete[] tmpString;
}
return readString;