diff options
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r-- | src/Gnome.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Gnome.cc b/src/Gnome.cc index 2059839..86f7f75 100644 --- a/src/Gnome.cc +++ b/src/Gnome.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: Gnome.cc,v 1.31 2003/07/28 15:06:33 rathnor Exp $ | 22 | // $Id: Gnome.cc,v 1.32 2003/10/02 16:14:41 rathnor Exp $ |
23 | 23 | ||
24 | #include "Gnome.hh" | 24 | #include "Gnome.hh" |
25 | 25 | ||
@@ -147,7 +147,7 @@ void Gnome::updateClientList(BScreen &screen) { | |||
147 | num += (*win_it)->numClients(); | 147 | num += (*win_it)->numClients(); |
148 | } | 148 | } |
149 | 149 | ||
150 | Window *wl = new (nothrow) Window[num]; | 150 | Window *wl = new Window[num]; |
151 | if (wl == 0) { | 151 | if (wl == 0) { |
152 | cerr<<"Fatal: Out of memory, can't allocate ("<<num*sizeof (Window)<<") for gnome client list"<<endl; | 152 | cerr<<"Fatal: Out of memory, can't allocate ("<<num*sizeof (Window)<<") for gnome client list"<<endl; |
153 | return; | 153 | return; |