mpool_realloc() of a NULL pointer fixed