free same as allocated