Original Post
Another question
I''m not sure why, and in fact the actual cause may be something else entirely, but I have a small memory leak, eats up about 20k/sec. I change one thing, and it goes away.
In a render function I have an object of CSurface I''m using to blt a bitmap to the screen. At the end of the function I clean up with:
20k/sec leak:
g_pBitmap->Destroy();
With no apparent leak:
delete g_pBitmap;
Why isn''t Destroy good enough?