check desktopNameFrame pointer in cube effect
REVIEW: 105840 BUG: 304340 FIXED-IN: 4.9.1
This commit is contained in:
parent
9c40152c03
commit
860c7679dc
1 changed files with 2 additions and 1 deletions
|
@ -1169,7 +1169,8 @@ void CubeEffect::postPaintScreen()
|
|||
|
||||
delete m_cubeCapBuffer;
|
||||
m_cubeCapBuffer = NULL;
|
||||
desktopNameFrame->free();
|
||||
if (desktopNameFrame)
|
||||
desktopNameFrame->free();
|
||||
}
|
||||
effects->addRepaintFull();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue