Browse Source
1. Removes a lock around allocation. `malloc` is required to be thread-safe in C11. 2. Defines it as a macro so that: 1. We provide the correct location for the OOM error. 2. We get better attribution from memory profilers.pull/1280/head
4 changed files with 19 additions and 92 deletions
Loading…
Reference in new issue