Fixed delete being inconsistent with new.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-07-08 05:14:42 +00:00
parent dee6536f14
commit e8d97d035d

View File

@ -173,8 +173,8 @@ void RaceGUI::createMarkerTexture()
vertices, index);
irr_driver->getVideoDriver()->draw2DVertexPrimitiveList(vertices, count,
index, count-2, video::EVT_STANDARD, scene::EPT_TRIANGLE_FAN);
delete vertices;
delete index;
delete [] vertices;
delete [] index;
} // if special minimap icon defined
}