check desktopNameFrame pointer in cube effect

REVIEW: 105840
BUG: 304340
FIXED-IN: 4.9.1
This commit is contained in:
Thomas Lübking 2012-08-08 19:48:35 +02:00
parent 9c40152c03
commit 860c7679dc

View file

@ -1169,7 +1169,8 @@ void CubeEffect::postPaintScreen()
delete m_cubeCapBuffer;
m_cubeCapBuffer = NULL;
desktopNameFrame->free();
if (desktopNameFrame)
desktopNameFrame->free();
}
effects->addRepaintFull();
}