summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-29 01:38:41 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-29 01:38:41 +0300
commit6e190e44b01f5e1780e14e7a60262d3d10e3d48f (patch)
tree4361b31b16caa5721bb548c43366ced35ff8e052 /src/resources/mapreader.cpp
parent8aed49f9c62e7a9a8f94d6189f173815d3834080 (diff)
downloadmanaplus-6e190e44b01f5e1780e14e7a60262d3d10e3d48f.tar.gz
manaplus-6e190e44b01f5e1780e14e7a60262d3d10e3d48f.tar.bz2
manaplus-6e190e44b01f5e1780e14e7a60262d3d10e3d48f.tar.xz
manaplus-6e190e44b01f5e1780e14e7a60262d3d10e3d48f.zip
Fix code style.
Diffstat (limited to 'src/resources/mapreader.cpp')
-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;
}