cleaning malloc up