miloyip/rapidjson — pull request #140 by kojik1010 (2014-09-11 03:41:22+00:00)
Title: make MemoryPoolAllocator's Malloc work after Clear if a buffer was not supplied by the user

If a user did not supply a buffer to MemoryPoolAllocator and calls Clear(), chunkHead_ will be null and any calls to Malloc() will result in a segfault.