diff --git a/effects/flipswitch.cpp b/effects/flipswitch.cpp index 483c556b39..e9fb8a358d 100644 --- a/effects/flipswitch.cpp +++ b/effects/flipswitch.cpp @@ -440,6 +440,8 @@ void FlipSwitchEffect::paintScreen( int mask, QRegion region, ScreenPaintData& d frameRect.height()*0.8f ); icon->render( region, iconRect); icon->unbind(); + delete icon; + glDisable( GL_BLEND ); glPopAttrib(); #endif }