commit | fe1139c7129ed7e95ed4fc38e27e8c41c3933ae4 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Mon Dec 30 12:45:13 2019 +0000 |
committer | Narayan Kamath <narayan@google.com> | Tue Dec 31 11:07:01 2019 +0000 |
tree | 76e427e64bdde4169d3ff08fe4e3639f7592460d | |
parent | 7de6855ecdd01153b407704c29f6226993d71d74 [diff] |
FuseDaemon: Remove bogus null checks after new. By default, new will throw std::bad_alloc (and bring down the process) if it fails, it will never return null unless "new (std::nothrow)" is used but that's not really advisable as there's rarely anything to be gained by being resilient to memory exhaustion. This is step one of several in getting rid of our explicit setting of errno. Test: atest FuseDaemonHostTest Change-Id: Ia7e2ad2088eaea979934e1cba5316c38e2111304