From 6e190e44b01f5e1780e14e7a60262d3d10e3d48f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 Apr 2011 01:38:41 +0300 Subject: Fix code style. --- src/resources/mapreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/mapreader.cpp') 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; } -- cgit v1.2.3-70-g09d2