Put simply, you can only
delete what you
new. There is no
new in this code, so why would there be a
Oh thanks! Im new to c++ an I'm wondering if there are any memory leaks in that part of the code?? Thanks!
Unless one of the functions you've written that gets called above uses a
new somewhere, there are no memory leaks.
Thanks a lot! One more thing though, my program slows down a bit after about 15 seconds of running, aside from memory leaks, are there any possible reason why the program slows down??