Skip to content
Permalink
Browse files

Fix memory leak in QgsEllipse

  • Loading branch information
nyalldawson committed Sep 18, 2017
1 parent b53e986 commit 92d739619dbd19a6ac8a5cb356e3506c7881b3b4
Showing with 4 additions and 0 deletions.
  1. +2 −0 python/core/geometry/qgsellipse.sip
  2. +2 −0 src/core/geometry/qgsellipse.h
@@ -27,6 +27,8 @@ class QgsEllipse
public:
QgsEllipse();

virtual ~QgsEllipse();

QgsEllipse( const QgsPoint &center, const double semiMajorAxis, const double semiMinorAxis, const double azimuth = 90 );
%Docstring
Constructs an ellipse by defining all the members.
@@ -41,6 +41,8 @@ class CORE_EXPORT QgsEllipse
public:
QgsEllipse();

virtual ~QgsEllipse() = default;

/** Constructs an ellipse by defining all the members.
* \param center The center of the ellipse.
* \param semiMajorAxis Semi-major axis of the ellipse.

0 comments on commit 92d7396

Please sign in to comment.
You can’t perform that action at this time.