mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Modified C *_free calls to C++ delete.
This commit is contained in:
parent
1f3dcc77ed
commit
e7b99eda29
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user