Apparently there is a memory leak in this code:
procedure TForm1.Button1Click(Sender: TObject);
var
doc: IXMLDocument;
begin
doc := TXMLDocument.Create(Nil);
doc.Active := True;
doc.AddChild('test');
doc := Nil;
end;
Clicking on the button gives me a report of a memory leak. Is this a false positive or is there a leak? IDE is Rad Studio 10.2