Fix NULL dereference in buffer-based allocator
2 files changed