Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
b-tree: return NULL on matras_alloc fail
In bps_tree_create_leaf we use matras_alloc in case bps_tree_garbage_pop didn't work out. However it also might not succeed. Then we need to return NULL instead of dereferencing NULL pointer. Part of #3807
- Loading branch information