leak--
CID: 6200 svn path=/trunk/KDE/kdebase/workspace/; revision=951662
This commit is contained in:
parent
f6c036cddb
commit
43f2a84f4e
1 changed files with 3 additions and 0 deletions
|
@ -234,7 +234,10 @@ void Workspace::raiseElectricBorderWindows()
|
|||
if( electric_windows[ i ] != None )
|
||||
windows[ pos++ ] = electric_windows[ i ];
|
||||
if( !pos )
|
||||
{
|
||||
delete [] windows;
|
||||
return; // No borders at all
|
||||
}
|
||||
XRaiseWindow( display(), windows[ 0 ] );
|
||||
XRestackWindows( display(), windows, pos );
|
||||
delete [] windows;
|
||||
|
|
Loading…
Reference in a new issue