Fixed the resizing criteria so that memory is de-allocated correctly
100% correct submission; no bonus points
Fixed style