Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Memory leak #4
Consider the following simple code that counts from 1 to 100 million:
When I run this,
I've verified that there are no memory issues when using standard numbers in this fashion, even when those numbers are being written to a file and/or a new object is used to store each number.
I don't have much experience with C++, but I'm given to believe that the solution is to add