summaryrefslogtreecommitdiffstats
path: root/src/sp-ellipse.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-11-16 16:06:32 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-11-16 16:06:32 +0000
commit33b2cf13e5ba8699e5bfaad9c743361ec14cf150 (patch)
treed55ba5ad1615707aaddb72ede6101c87dae1e349 /src/sp-ellipse.cpp
parentAdd 'osb' to list of namespaces ignored when checking attributes/properties. (diff)
downloadinkscape-33b2cf13e5ba8699e5bfaad9c743361ec14cf150.tar.gz
inkscape-33b2cf13e5ba8699e5bfaad9c743361ec14cf150.zip
Fix nasty leak
(bzr r13719)
Diffstat (limited to 'src/sp-ellipse.cpp')
-rw-r--r--src/sp-ellipse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-ellipse.cpp b/src/sp-ellipse.cpp
index b5c6e4af8..027accd39 100644
--- a/src/sp-ellipse.cpp
+++ b/src/sp-ellipse.cpp
@@ -642,8 +642,8 @@ bool SPGenericEllipse::set_elliptical_path_attribute(Inkscape::XML::Node *repr)
// Make sure our pathvector is up to date.
this->set_shape();
- if (this->getCurve() != NULL) {
- gchar* d = sp_svg_write_path(this->getCurve()->get_pathvector());
+ if (_curve != NULL) {
+ gchar* d = sp_svg_write_path(_curve->get_pathvector());
repr->setAttribute("d", d);