set it to null
rightpointer = null;