From ecfc5c910d6e4d43907f129ed4ffcaebe6d0de20 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Mon, 18 Jul 2011 19:22:32 +0200 Subject: consistency fix (potential bug) Fixed bugs: - https://launchpad.net/bugs/812413 (bzr r10468) --- src/libnrtype/FontInstance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libnrtype') 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; } -- cgit v1.2.3