Hello
there is a memory leak in TROHttpApiRodlConverter.GetAPIMethods
caused by the Delphi bug
The following code
fapi.Sort(TDelegatedComparer<TROHttpApiMethodInfo>.Create(
function (const Left, Right: TROHttpApiMethodInfo):Integer
begin
result := SortHttpApiMethodInfo(Left, Right);
end));
should be changed to use a local variable:
oComparer := TDelegatedComparer<TROHttpApiMethodInfo>.Create(
function (const Left, Right: TROHttpApiMethodInfo):Integer
begin
result := SortHttpApiMethodInfo(Left, Right);
end);
fapi.Sort(oComparer);
We use version 9.3.0.1329
regards