Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return null if it fails to allocate memory.
std::alloc() can fail and return a null. We return a null to give the caller a chance to handle it. (Issue #10) Signed-off-by: Kui-Feng Lee <kuifeng@fb.com>
- Loading branch information