summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2011-07-18 17:22:32 +0000
committerJohan Engelen <goejendaagh@zonnet.nl>2011-07-18 17:22:32 +0000
commitecfc5c910d6e4d43907f129ed4ffcaebe6d0de20 (patch)
treed9307ae45ff6d3cc2da40594ea527c5bf472b355
parentTutorials. New Greek translation of Interpolate by Dimitris Spingos. (diff)
downloadinkscape-ecfc5c910d6e4d43907f129ed4ffcaebe6d0de20.tar.gz
inkscape-ecfc5c910d6e4d43907f129ed4ffcaebe6d0de20.zip
consistency fix (potential bug)
Fixed bugs: - https://launchpad.net/bugs/812413 (bzr r10468)
-rw-r--r--src/libnrtype/FontInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnrtype/FontInstance.cpp b/src/libnrtype/FontInstance.cpp
index 1b65dd88c..4288acd79 100644
--- a/src/libnrtype/FontInstance.cpp
+++ b/src/libnrtype/FontInstance.cpp
@@ -385,7 +385,7 @@ unsigned int font_instance::Attribute(const gchar *key, gchar *str, unsigned int
}
}
if (free_res) {
- free(res);
+ g_free(res);
}
return len;
}