To check allocation result