DescriptionDon't check the result of new for NULL.
new throws on allocation error. We build with exceptions disabled, but we use
an allocator that crashes the process when memory allocation fails, so this
check isn't necessary.
Fixes some issues reported by PVS-Studio: http://www.viva64.com/en/b/0205/
BUG=271530
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229058
Patch Set 1 #
Total comments: 3
Messages
Total messages: 16 (0 generated)
|