* Use new instead of getmem

This commit is contained in:
Michaël Van Canneyt 2025-03-17 15:42:08 +01:00
parent 07a2c6b37e
commit e33f720fa5

View File

@ -2955,7 +2955,7 @@ Implementation
if assigned(asminfos[t]) then
writeln('Warning: Assembler is already registered!')
else
Getmem(asminfos[t],sizeof(tasminfo));
new(asminfos[t]);
asminfos[t]^:=r;
CAssembler[t]:=c;
end;