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