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

# TMemoryStream.Destroy

Frees any allocated memory and destroys the memory stream.

## Declaration

`public destructor TMemoryStream.Destroy; override;`

## Description

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