Skip to content

TResourceCollection.FreeItem

Release memory occupied by item.

Declaration

Source position: objects.pp line 525

default 
  procedure FreeItem(Item: Pointer);  Virtual;

Description

FreeItem releases the memory occupied by Item. It de-allocates the name, and then the resourceitem record.

It does NOT remove the item from the collection.

Errors

None.

See also

Name Description
TCollection.FreeItem Destroy a non-nil item.