aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/serializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serializer.cpp b/src/serializer.cpp
index 587f613..407aab2 100644
--- a/src/serializer.cpp
+++ b/src/serializer.cpp
@@ -321,7 +321,7 @@ Serializer &operator>>( Serializer &ar, std::string &s )
321 tmp[l] = '\0'; 321 tmp[l] = '\0';
322 ar.read( tmp, l ); 322 ar.read( tmp, l );
323 s = tmp; 323 s = tmp;
324 delete tmp; 324 delete[] tmp;
325 325
326 return ar; 326 return ar;
327} 327}