Memory leak in TROHttpApiRodlConverter.GetAPIMethods

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

Thanks, logged as bugs://78627

bugs://78627 got closed with status fixed.