diff options
| author | buliabyak <> | 2013-09-28 16:58:09 +0000 |
|---|---|---|
| committer | buliabyak <> | 2013-09-28 16:58:09 +0000 |
| commit | ae4fb171df25c328e398d0cf1909a4cbad33a897 (patch) | |
| tree | 9133dba68d92bb62308148124697200ea8effeb5 /src/document.cpp | |
| parent | another place where getURI()->toString() values were leaking (diff) | |
| download | inkscape-ae4fb171df25c328e398d0cf1909a4cbad33a897.tar.gz inkscape-ae4fb171df25c328e398d0cf1909a4cbad33a897.zip | |
dying document needs to delete its perspective
(bzr r12611)
Diffstat (limited to '')
| -rw-r--r-- | src/document.cpp | 5 |
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; } |
