However, if you replace the array with new units, the old values will not "leak". They will be garbage collected normally by the engine. Leak is more for data that is lost and can never be recovered, vs data that is still accessible but hasn't been cleared yet. |