why not set temppointe to 0 when its removed?


"empty"