free returns NULL and a memory condition is cleared