Modified C *_free calls to C++ delete.

This commit is contained in:
David Capello 2010-03-07 12:06:37 -02:00
parent 1f3dcc77ed
commit e7b99eda29

View File

@ -138,9 +138,9 @@ Sprite::~Sprite()
}
// destroy undo, mask, etc.
delete this->undo;
delete this->mask;
if (this->frlens) jfree(this->frlens);
if (this->undo) undo_free(this->undo);
if (this->mask) mask_free(this->mask);
if (this->bound.seg) jfree(this->bound.seg);
/* destroy mutex */