clean up allocated storage when destroying process