summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2013-09-30 20:28:33 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2013-09-30 20:28:33 +0000
commitfec897e5f419344560c2b5e7691fcc207147c5bf (patch)
tree3b2f6ca17b92de4adb6097d72dfafc98e5a21c43 /src
parentfix another g_strdup memleak (diff)
downloadinkscape-fec897e5f419344560c2b5e7691fcc207147c5bf.tar.gz
inkscape-fec897e5f419344560c2b5e7691fcc207147c5bf.zip
memleak!
(bzr r12636)
Diffstat (limited to 'src')
-rw-r--r--src/extension/dbus/document-interface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/dbus/document-interface.cpp b/src/extension/dbus/document-interface.cpp
index ccc39fbef..221a3e879 100644
--- a/src/extension/dbus/document-interface.cpp
+++ b/src/extension/dbus/document-interface.cpp
@@ -268,7 +268,7 @@ dbus_call_verb (DocumentInterface *doc_interface, int verbid, GError **error)
if ( action ) {
sp_action_perform( action, NULL );
if (doc_interface->updates)
- Inkscape::DocumentUndo::done(doc_interface->target.getDocument(), verb->get_code(), g_strdup(verb->get_tip()));
+ Inkscape::DocumentUndo::done(doc_interface->target.getDocument(), verb->get_code(), verb->get_tip());
return TRUE;
}
}
@@ -357,7 +357,7 @@ document_interface_call_verb (DocumentInterface *doc_interface, gchar *verbid, G
if ( action ) {
sp_action_perform( action, NULL );
if (doc_interface->updates) {
- Inkscape::DocumentUndo::done(doc_interface->target.getDocument(), verb->get_code(), g_strdup(verb->get_tip()));
+ Inkscape::DocumentUndo::done(doc_interface->target.getDocument(), verb->get_code(), verb->get_tip());
}
return TRUE;
}