mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Memory leaks.
Bug fixes. svn-id: r32908
This commit is contained in:
+3
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user