summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/originalitemarray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/parameter/originalitemarray.cpp')
-rw-r--r--src/live_effects/parameter/originalitemarray.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/live_effects/parameter/originalitemarray.cpp b/src/live_effects/parameter/originalitemarray.cpp
index fe2dc0c8d..b89485e2d 100644
--- a/src/live_effects/parameter/originalitemarray.cpp
+++ b/src/live_effects/parameter/originalitemarray.cpp
@@ -438,8 +438,7 @@ gchar * OriginalItemArrayParam::param_getSVGValue() const
}
os << (*iter)->href << "," << ((*iter)->actived ? "1" : "0");
}
- gchar * str = g_strdup(os.str().c_str());
- return str;
+ return g_strdup(os.str().c_str());
}
gchar * OriginalItemArrayParam::param_getDefaultSVGValue() const