Nick Cooperrider 07_Heap_Lab

Oops! You just deleted your backingArray, because tempArray and backingArray point to the same thing.

delete[] backingArray BEFORE doing backingArray = tempArray;