summaryrefslogtreecommitdiff
path: root/src/resources
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
parent8aed49f9c62e7a9a8f94d6189f173815d3834080 (diff)
downloadplus-6e190e44b01f5e1780e14e7a60262d3d10e3d48f.tar.gz
plus-6e190e44b01f5e1780e14e7a60262d3d10e3d48f.tar.bz2
plus-6e190e44b01f5e1780e14e7a60262d3d10e3d48f.tar.xz
plus-6e190e44b01f5e1780e14e7a60262d3d10e3d48f.zip
Fix code style.
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;
}