mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 11:56:49 +01:00
Fix memleak.
This commit is contained in:
parent
2c42753ea6
commit
8a8193e8d3
@ -896,6 +896,12 @@ public:
|
||||
total_time = 0;
|
||||
type = TYPE_RECT_ANIMATION;
|
||||
}
|
||||
|
||||
~CommandRectAnimation() {
|
||||
for (int i = 0; i < rects.size(); ++i) {
|
||||
memdelete(rects[i]);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
struct ViewportRender {
|
||||
|
Loading…
Reference in New Issue
Block a user