make MemoryPoolAllocator's Malloc work after Clear if a buffer was not supplied by the user
Merge pull request #140 from kojik1010/mempool_null_check

make MemoryPoolAllocator's Malloc work after Clear if a buffer was not supplied by the user