| Issue 3: | [Coding] Memory Leaks | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Since you have added many std::vector<Type*> , you have forgotten to delete them :( For example -> https://code.google.com/p/super-mario-project/source/diff?spec=svn21&r=21&format=side&path=/trunk/Super+Mario+Project/Super+Mario+Project/Projectile.hpp https://code.google.com/p/super-mario-project/source/diff?spec=svn21&r=21&format=side&path=/trunk/Super+Mario+Project/Super+Mario+Project/Projectile.cpp Or even here: https://code.google.com/p/super-mario-project/source/browse/trunk/Super+Mario+Project/Super+Mario+Project/ProjectileOccurrence.cpp?r=20 Where the model is not deleted.
Apr 29, 2011
#1
lw.demos...@googlemail.com
May 1, 2011
Thanks for advice. As I begin coding recently in C++, I don't think to do all :) |