Afforess
The White Wizard
As I understand it, in C++, there is no automatic garbage collectors (like Java has), so programmers have to delete arrays when they are done with them. This is done by SAFE_DELETE_ARRAY (In Civ4).
Then, why does bool CvUnit::nuke(int iX, int iY) create an array, but never delete it? Is this causing a memory leak?
Then, why does bool CvUnit::nuke(int iX, int iY) create an array, but never delete it? Is this causing a memory leak?