diff options
Diffstat (limited to 'source/blender/freestyle/intern/geometry')
-rw-r--r-- | source/blender/freestyle/intern/geometry/Bezier.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/geometry/Bezier.cpp b/source/blender/freestyle/intern/geometry/Bezier.cpp index 9a832c04699..4ae30ff893c 100644 --- a/source/blender/freestyle/intern/geometry/Bezier.cpp +++ b/source/blender/freestyle/intern/geometry/Bezier.cpp @@ -109,9 +109,7 @@ BezierCurve::~BezierCurve() delete *v; } } - if (_currentSegment) { - delete _currentSegment; - } + delete _currentSegment; } void BezierCurve::AddControlPoint(const Vec2d &iPoint) |