From 297a72e01befeccb24d734582adacf33fc3dcfe7 Mon Sep 17 00:00:00 2001 From: vincents Date: Tue, 8 May 2007 17:50:51 +0000 Subject: [PATCH] LCL: cleanup, ReallocMem(p,0) sets p to nil git-svn-id: trunk@11109 - --- lcl/graphmath.pp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lcl/graphmath.pp b/lcl/graphmath.pp index cf599a4ddb..4259f1be11 100644 --- a/lcl/graphmath.pp +++ b/lcl/graphmath.pp @@ -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);