Sorry if this is explicitly answered somewhere, but I\'m a little confused by the boost documentation and articles I\'ve read online.
I see that I can use the reset() fu
You have not leaked memory. The memory for the first int object will be deleted.