summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
authorbuliabyak <>2013-09-28 16:58:09 +0000
committerbuliabyak <>2013-09-28 16:58:09 +0000
commitae4fb171df25c328e398d0cf1909a4cbad33a897 (patch)
tree9133dba68d92bb62308148124697200ea8effeb5 /src/document.cpp
parentanother place where getURI()->toString() values were leaking (diff)
downloadinkscape-ae4fb171df25c328e398d0cf1909a4cbad33a897.tar.gz
inkscape-ae4fb171df25c328e398d0cf1909a4cbad33a897.zip
dying document needs to delete its perspective
(bzr r12611)
Diffstat (limited to '')
-rw-r--r--src/document.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/document.cpp b/src/document.cpp
index 800f2f33d..dda072283 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -219,6 +219,11 @@ SPDocument::~SPDocument() {
inkscape_unref();
keepalive = FALSE;
}
+
+ if (this->current_persp3d_impl)
+ delete this->current_persp3d_impl;
+ this->current_persp3d_impl = NULL;
+
//delete this->_whiteboard_session_manager;
}