Skip to content

TFPBinaryOperation.Destroy

Destroy binary operation and free resources

Declaration

Source position: fpexprpars.pp line 141

public 
destructor TFPBinaryOperation.Destroy;  override;

Description

This destructor properly cleans up the binary operation by freeing both the left and right operand nodes and any other resources used by the operation.

The destructor ensures that all memory allocated for the operands is properly released, preventing memory leaks in complex expression trees.