[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Classes' (#rtl)

# TMemoryStream.Destroy

Frees any allocated memory and destroys the memory stream.

## Declaration

Source position: classesh.inc line 1066

`public destructor TMemoryStream.Destroy; override;`

## Description

Destroy clears the memory stream, thus in effect freeing any memory allocated for it, and then frees the memory stream.

Documentation generated on: May 14 2021