diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2010-07-28 05:07:32 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2010-07-28 05:07:32 +0000 |
| commit | 550565be413ccd1ec163c549bcca74e054e06b11 (patch) | |
| tree | a803bafc896518c2a10899612a7ce3eca53deaa8 /src/document.cpp | |
| parent | Fix for filters dialog by Krzysztof (diff) | |
| download | inkscape-550565be413ccd1ec163c549bcca74e054e06b11.tar.gz inkscape-550565be413ccd1ec163c549bcca74e054e06b11.zip | |
Applied fix for sp_document_maybe_done() that was holding pointers to internal temp buffers.
(bzr r9606.1.29)
Diffstat (limited to '')
| -rw-r--r-- | src/document.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/document.cpp b/src/document.cpp index eff6d6e81..3c9f7e5ed 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -92,7 +92,7 @@ SPDocument::SPDocument() : base(0), name(0), priv(0), // reset in ctor - actionkey(0), + actionkey(), modified_id(0), rerouting_handler_id(0), profileManager(0), // deferred until after other initialization @@ -211,7 +211,6 @@ SPDocument::~SPDocument() { inkscape_unref(); keepalive = FALSE; } - //delete this->_whiteboard_session_manager; } @@ -288,7 +287,7 @@ void SPDocument::collectOrphans() { void SPDocument::reset_key (void */*dummy*/) { - actionkey = NULL; + actionkey.clear(); } SPDocument * |
