Commit 71de41a5 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Don't leak screens when cleaning up

Found using ASAN.
parent 8de0f822
...@@ -44,7 +44,10 @@ Integration::Integration() ...@@ -44,7 +44,10 @@ Integration::Integration()
{ {
} }
Integration::~Integration() = default; Integration::~Integration()
{
qDeleteAll(m_screens);
}
bool Integration::hasCapability(Capability cap) const bool Integration::hasCapability(Capability cap) const
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment