summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/path.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-09-10 19:12:07 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-09-10 19:12:07 +0000
commit24166b289293a2b706a55f6605f06f436fa1d9bc (patch)
tree2140d882c9c6d00e3e53b410dc95de7c83419f29 /src/live_effects/parameter/path.cpp
parentFix bug #1357411 (diff)
downloadinkscape-24166b289293a2b706a55f6605f06f436fa1d9bc.tar.gz
inkscape-24166b289293a2b706a55f6605f06f436fa1d9bc.zip
Fix bug #1367520 (crash regression)
Fixed bugs: - https://launchpad.net/bugs/1367520 (bzr r13551)
Diffstat (limited to 'src/live_effects/parameter/path.cpp')
-rw-r--r--src/live_effects/parameter/path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp
index 8095056b7..89947034d 100644
--- a/src/live_effects/parameter/path.cpp
+++ b/src/live_effects/parameter/path.cpp
@@ -143,7 +143,7 @@ gchar *
PathParam::param_getSVGValue() const
{
if (href) {
- return href;
+ return g_strdup(href);
} else {
gchar * svgd = sp_svg_write_path( _pathvector );
return svgd;