Don't leak screens when cleaning up
Found using ASAN.
This commit is contained in:
parent
8de0f8223d
commit
71de41a570
1 changed files with 4 additions and 1 deletions
|
@ -44,7 +44,10 @@ Integration::Integration()
|
|||
{
|
||||
}
|
||||
|
||||
Integration::~Integration() = default;
|
||||
Integration::~Integration()
|
||||
{
|
||||
qDeleteAll(m_screens);
|
||||
}
|
||||
|
||||
bool Integration::hasCapability(Capability cap) const
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue