mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 18:49:14 +02:00
- do not set the parameter to nil in strings.strdispose, because it's not a var
parameter and the operation is therefore useless git-svn-id: trunk@32025 -
This commit is contained in:
parent
accf3a6150
commit
385f0d4ee8
@ -155,10 +155,7 @@ implementation
|
||||
|
||||
begin
|
||||
if p<>nil then
|
||||
begin
|
||||
freemem(p);
|
||||
p:=nil;
|
||||
end;
|
||||
freemem(p);
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user