[haiku-commits] Re: r36838 - haiku/branches/features/stack-and-tile/src/servers/app
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: haiku-commits@xxxxxxxxxxxxx
- Date: Thu, 20 May 2010 18:33:52 +0200
clemens.zeidler@xxxxxxxxxxxxxx wrote:
> + fStackAndTileWindow = new StackAndTileWindow(this);
Since "new" can fail and throw, in the app_server you should always use
new(std::nothrow), and test the result.
Bye,
Axel.
Other related posts: