Debugger: Add missing std::nothrow.

This commit is contained in:
Rene Gollent
2013-09-14 17:55:32 +02:00
parent fda9d308e1
commit 20c5fc4aa6
@@ -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;