Fix memory leak.
svn path=/trunk/KDE/kdebase/workspace/; revision=810521
This commit is contained in:
parent
daecb8f0fa
commit
41acbcfd5a
1 changed files with 1 additions and 0 deletions
|
@ -311,6 +311,7 @@ void CoverSwitchEffect::paintScreen( int mask, QRegion region, ScreenPaintData&
|
|||
frameRect.height()*0.8f );
|
||||
icon->render( region, iconRect);
|
||||
icon->unbind();
|
||||
delete icon;
|
||||
glDisable( GL_BLEND );
|
||||
glPopAttrib();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue