Although a destructor is a good idea, the actual bug was the hard-coded 6 in Adder::Clear, which should instead be MaxSize as Salem said.