leak fix
This commit is contained in:
parent
04f5ec30bc
commit
f10f04bac2
1 changed files with 3 additions and 0 deletions
|
|
@ -323,6 +323,9 @@ Project::~Project() {
|
||||||
for (auto brush : mBrushes) {
|
for (auto brush : mBrushes) {
|
||||||
delete brush->val;
|
delete brush->val;
|
||||||
}
|
}
|
||||||
|
for (auto layer : mLayers) {
|
||||||
|
delete layer.data();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Renderer::Renderer(Vec2F size) :
|
Renderer::Renderer(Vec2F size) :
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue