fix magnifier + xrender segfault

This commit is contained in:
Thomas Lübking 2013-03-11 16:17:52 +01:00
parent c1bd7885cb
commit d6c652fd35

View file

@ -87,6 +87,7 @@ void MagnifierEffect::destroyPixmap()
m_picture.reset();
if (m_pixmap != XCB_PIXMAP_NONE) {
xcb_free_pixmap(connection(), m_pixmap);
m_pixmap = XCB_PIXMAP_NONE;
}
#endif
}