release of allocated memory changed