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 );
|
frameRect.height()*0.8f );
|
||||||
icon->render( region, iconRect);
|
icon->render( region, iconRect);
|
||||||
icon->unbind();
|
icon->unbind();
|
||||||
|
delete icon;
|
||||||
glDisable( GL_BLEND );
|
glDisable( GL_BLEND );
|
||||||
glPopAttrib();
|
glPopAttrib();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue