Merge branch 'Plasma/5.18'

icc-effect-master
Vlad Zahorodnii 2020-03-19 22:41:19 +02:00
commit bb04ab390d
1 changed files with 2 additions and 0 deletions

View File

@ -1039,6 +1039,8 @@ WindowPixmap::WindowPixmap(const QPointer<KWayland::Server::SubSurfaceInterface>
WindowPixmap::~WindowPixmap()
{
qDeleteAll(m_children);
if (m_pixmap != XCB_WINDOW_NONE) {
xcb_free_pixmap(connection(), m_pixmap);
}