fix magnifier + xrender segfault

remotes/origin/Plasma/5.0
Thomas Lübking 13 years ago
parent c1bd7885cb
commit d6c652fd35
  1. 1
      effects/magnifier/magnifier.cpp

@ -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
}

Loading…
Cancel
Save