Home Segments Index Top Previous Next

646: Mainline

Alas, although the revised do_analysis function uses the delete operator to reclaim the memory consumed by obsolete and inaccessible class objects, those objects themselves contain pointers to character arrays created at run time—the character arrays that store the serial numbers—and memory reserved for those character arrays is not yet reclaimed.