mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 20:38:16 +02:00
revert r52574 #6e97929097
git-svn-id: trunk@52575 -
This commit is contained in:
parent
6e97929097
commit
4c4f98fef2
@ -1507,7 +1507,7 @@ begin
|
||||
|
||||
// set TypeData (PropCount is the total number of properties, including ancestors)
|
||||
NewTypeData^.ClassType:=TClass(NewVMT);
|
||||
{$IF FPC_FULLVERSION>=30200}
|
||||
{$IF FPC_FULLVERSION>=30100}
|
||||
GetMem(NewTypeData^.ParentInfoRef,SizeOf(Pointer));
|
||||
NewTypeData^.ParentInfoRef^:=AncestorClass.ClassInfo;
|
||||
{$ELSE}
|
||||
@ -1584,7 +1584,7 @@ begin
|
||||
|
||||
// free typeinfo
|
||||
OldTypeInfo:=PTypeInfo((OldVMT+vmtTypeInfo)^);
|
||||
{$IF FPC_FULLVERSION>=30200}
|
||||
{$IF FPC_FULLVERSION>=30100}
|
||||
// free ParentInfoRef
|
||||
OldTypeData:=GetTypeData(OldTypeInfo);
|
||||
FreeMem(OldTypeData^.ParentInfoRef);
|
||||
|
Loading…
Reference in New Issue
Block a user