mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 04:39:34 +02:00
* Use new instead of getmem
This commit is contained in:
parent
07a2c6b37e
commit
e33f720fa5
@ -2955,7 +2955,7 @@ Implementation
|
|||||||
if assigned(asminfos[t]) then
|
if assigned(asminfos[t]) then
|
||||||
writeln('Warning: Assembler is already registered!')
|
writeln('Warning: Assembler is already registered!')
|
||||||
else
|
else
|
||||||
Getmem(asminfos[t],sizeof(tasminfo));
|
new(asminfos[t]);
|
||||||
asminfos[t]^:=r;
|
asminfos[t]^:=r;
|
||||||
CAssembler[t]:=c;
|
CAssembler[t]:=c;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user