summaryrefslogtreecommitdiffstats
path: root/src/xml/repr-css.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-09-02 15:59:13 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-09-02 15:59:13 +0000
commitce4e3c231102682e1cc263054c727ad687634523 (patch)
tree5269661144ebb87effccf6c11be48fd61f46f73e /src/xml/repr-css.cpp
parentTranslations. Template file update. (diff)
downloadinkscape-ce4e3c231102682e1cc263054c727ad687634523.tar.gz
inkscape-ce4e3c231102682e1cc263054c727ad687634523.zip
performance: ??
(bzr r11645)
Diffstat (limited to 'src/xml/repr-css.cpp')
-rw-r--r--src/xml/repr-css.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/xml/repr-css.cpp b/src/xml/repr-css.cpp
index 679ec73cb..594ac83c6 100644
--- a/src/xml/repr-css.cpp
+++ b/src/xml/repr-css.cpp
@@ -286,8 +286,6 @@ gchar *sp_repr_css_write_string(SPCSSAttr *css)
if (!strcmp(g_quark_to_string(iter->key), "font-family")
|| !strcmp(g_quark_to_string(iter->key), "-inkscape-font-specification")) {
// we only quote font-family/font-specification, as SPStyle does
- gchar *t = g_strdup (iter->value);
- g_free (t);
gchar *val_quoted = css2_escape_quote (iter->value);
if (val_quoted) {
buffer.append(val_quoted);