home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH07 / A07104.TXT < prev    next >
Encoding:
Text File  |  1993-09-22  |  436 b   |  8 lines

  1. The lifetime of objects in the free store is not affected by the
  2. scope of the object.  If the object goes out of scope but its
  3. dynamically allocated memory is not explicitly deallocated, that
  4. memory is no longer accessible by the program and is not available
  5. for reallocation to another object.  It is the responsibility of
  6. the C++ programmer to release dynamically allocated memory when it
  7. is no longer required by the program.
  8.