added missing nothrow parameter
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18868 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -30,7 +30,7 @@ static ItemList sItemList;
|
||||
status_t
|
||||
add_boot_item(const char *name, void *data, size_t size)
|
||||
{
|
||||
boot_item *item = new boot_item;
|
||||
boot_item *item = new(nothrow) boot_item;
|
||||
if (item == NULL)
|
||||
return B_NO_MEMORY;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user