Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibC: Some calloc() and realloc() improvements (SerenityOS#3108)
If the space cannot be allocated, the original memory block shall remain unchanged and the function should return nullptr. Also add a function attribute and some null checks.
- Loading branch information