Destroy of memory