home *** CD-ROM | disk | FTP | other *** search
- The lifetime of objects in the free store is not affected by the
- scope of the object. If the object goes out of scope but its
- dynamically allocated memory is not explicitly deallocated, that
- memory is no longer accessible by the program and is not available
- for reallocation to another object. It is the responsibility of
- the C++ programmer to release dynamically allocated memory when it
- is no longer required by the program.
-