Fixed leaks in NS and BRA.

svn-id: r32976
This commit is contained in:
Nicola Mettifogo 2008-07-09 13:27:09 +00:00
parent 18b48c74a9
commit 12cefc4132
3 changed files with 5 additions and 0 deletions

View file

@ -54,6 +54,7 @@ Animation::Animation() {
Animation::~Animation() {
free(_scriptName);
gfxobj->release();
}
uint16 Animation::width() const {
@ -182,6 +183,8 @@ Zone::~Zone() {
break;
}
free(_linkedName);
}
void Zone::getRect(Common::Rect& r) const {