your vector has memory leaks. (Dtor?)