summaryrefslogtreecommitdiffstats
path: root/src/document.h
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-07-28 01:57:53 +0000
committerJon A. Cruz <jon@joncruz.org>2010-07-28 01:57:53 +0000
commitb866548d43ef89eefbbec860e0935f8f2505277f (patch)
treeda03e6a0cdc3db53f5836d9c723ed4e3617ce9fa /src/document.h
parentDuplicate the undo key passed to sp_document_maybe_done, instead of simply (diff)
downloadinkscape-b866548d43ef89eefbbec860e0935f8f2505277f.tar.gz
inkscape-b866548d43ef89eefbbec860e0935f8f2505277f.zip
Safer fix for bug #579932 that won't leak memory.
(bzr r9662)
Diffstat (limited to 'src/document.h')
-rw-r--r--src/document.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/document.h b/src/document.h
index bcc072f70..5810b5358 100644
--- a/src/document.h
+++ b/src/document.h
@@ -96,7 +96,8 @@ struct SPDocument : public Inkscape::GC::Managed<>,
SPDocumentPrivate *priv;
/// Last action key
- gchar *actionkey;
+ Glib::ustring actionkey;
+
/// Handler ID
guint modified_id;