Memory leaks.

Bug fixes.

svn-id: r32908
This commit is contained in:
Vicent Marti committed 2008-07-04 20:05:30 +00:00
1 parent 3b73b199a6
commit 96f2d9ca18
6 files changed
+22 -28

No files matched your search

+3 -1
View File
@@ -223,7 +223,9 @@ bool ThemeParser::parserCallback_DRAWSTEP() {
if (!parseDrawStep(stepNode, drawstep, true))
return false;
_theme->addDrawStep(drawdataNode->values["id"], drawstep);
_theme->addDrawStep(drawdataNode->values["id"], *drawstep);
delete drawstep;
return true;
}