summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/document.cpp')
-rw-r--r--src/document.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/document.cpp b/src/document.cpp
index eff6d6e81..eebc50a98 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -211,7 +211,10 @@ SPDocument::~SPDocument() {
inkscape_unref();
keepalive = FALSE;
}
-
+ if (actionkey) {
+ g_free(actionkey);
+ actionkey = NULL;
+ }
//delete this->_whiteboard_session_manager;
}