diff --git a/effects/coverswitch.cpp b/effects/coverswitch.cpp index 1072e766a4..7cbcd993b9 100644 --- a/effects/coverswitch.cpp +++ b/effects/coverswitch.cpp @@ -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(); }