Fixed leaks in NS and BRA.
svn-id: r32976
This commit is contained in:
parent
18b48c74a9
commit
12cefc4132
3 changed files with 5 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue