summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/mapreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index 51e1741f2..818968621 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -472,7 +472,7 @@ void MapReader::readLayer(xmlNodePtr node, Map *map)
xmlNodeGetContent(dataChild));
if (!charStart)
{
- delete charData;
+ delete[] charData;
return;
}