Debugger: Add missing std::nothrow.

This commit is contained in:
Rene Gollent
2013-09-17 14:40:19 +02:00
parent 672b2600bc
commit 1ea8fd5216
@@ -2103,7 +2103,7 @@ status_t
VariablesView::_AddContextAction(const char* action, uint32 what,
ContextActionList* actions, BMessage*& _message)
{
_message = new BMessage(what);
_message = new(std::nothrow) BMessage(what);
if (_message == NULL)
return B_NO_MEMORY;