Is it necessary to check for memory allocation after everytime we do 'new' ?