mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 18:29:12 +02:00
LCL: cleanup, ReallocMem(p,0) sets p to nil
git-svn-id: trunk@11109 -
This commit is contained in:
parent
6aa04ce02b
commit
297a72e01b
@ -533,11 +533,7 @@ begin
|
||||
Count := 0;
|
||||
|
||||
if Assigned(Points) then
|
||||
try
|
||||
ReallocMem(Points, 0);
|
||||
finally
|
||||
Points := nil;
|
||||
end;
|
||||
end;
|
||||
SplitRecursive(Bezier);
|
||||
end;
|
||||
@ -581,11 +577,7 @@ begin
|
||||
Count := 0;
|
||||
|
||||
if Assigned(Points) then
|
||||
try
|
||||
ReallocMem(Points, 0);
|
||||
finally
|
||||
Points := nil;
|
||||
end;
|
||||
end;
|
||||
|
||||
Arc2Bezier(X, Y, Width, Height, Angle1, Angle2, Rotation, B);
|
||||
|
Loading…
Reference in New Issue
Block a user