third point here point to a deleted memory, so it must be point to NULL to avoid mem leak