Need to add the line: destructor TFMXQRCode.Destroy; begin FQRImage.Free; **FLines.Free;** inherited; end;