[Scummvm-cvs-logs] SF.net SVN: scummvm: [32976] scummvm/trunk/engines/parallaction
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Wed Jul 9 15:27:09 CEST 2008
Revision: 32976
http://scummvm.svn.sourceforge.net/scummvm/?rev=32976&view=rev
Author: peres001
Date: 2008-07-09 06:27:09 -0700 (Wed, 09 Jul 2008)
Log Message:
-----------
Fixed leaks in NS and BRA.
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/graphics.cpp
scummvm/trunk/engines/parallaction/objects.cpp
scummvm/trunk/engines/parallaction/parallaction.cpp
Modified: scummvm/trunk/engines/parallaction/graphics.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/graphics.cpp 2008-07-09 11:30:49 UTC (rev 32975)
+++ scummvm/trunk/engines/parallaction/graphics.cpp 2008-07-09 13:27:09 UTC (rev 32976)
@@ -767,6 +767,7 @@
Gfx::~Gfx() {
freeBackground();
+ freeLabels();
return;
}
Modified: scummvm/trunk/engines/parallaction/objects.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/objects.cpp 2008-07-09 11:30:49 UTC (rev 32975)
+++ scummvm/trunk/engines/parallaction/objects.cpp 2008-07-09 13:27:09 UTC (rev 32976)
@@ -54,6 +54,7 @@
Animation::~Animation() {
free(_scriptName);
+ gfxobj->release();
}
uint16 Animation::width() const {
@@ -182,6 +183,8 @@
break;
}
+
+ free(_linkedName);
}
void Zone::getRect(Common::Rect& r) const {
Modified: scummvm/trunk/engines/parallaction/parallaction.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/parallaction.cpp 2008-07-09 11:30:49 UTC (rev 32975)
+++ scummvm/trunk/engines/parallaction/parallaction.cpp 2008-07-09 13:27:09 UTC (rev 32976)
@@ -93,6 +93,7 @@
_gfx->clearGfxObjects(kGfxObjCharacter | kGfxObjNormal);
hideDialogueStuff();
+ delete _balloonMan;
freeLocation();
freeCharacter();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list