소스 검색

* Correctly set FDeclaredProperties length

Michaël Van Canneyt 8 달 전
부모
커밋
7245902660
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      packages/rtl-objpas/src/inc/rtti.pp

+ 1 - 0
packages/rtl-objpas/src/inc/rtti.pp

@@ -6914,6 +6914,7 @@ begin
       Inc(J);
     end;
   finally
+    SetLength(FDeclaredProperties,PropCount);
     if assigned(List) then
       FreeMem(List);
   end;