Commit fe489cc1 authored by Christian Persch's avatar Christian Persch Committed by Hiroyuki Ikezoe

Use correct free func

Use xmlFree() on strings from libxml, not free().

Bug #620592.
parent a55aa23c
......@@ -826,8 +826,8 @@ rsvg_entity_decl (void *data, const xmlChar * name, int type,
entity = xmlNewEntity(NULL, name, type, resolvedPublicId, resolvedSystemId, content);
free(resolvedPublicId);
free(resolvedSystemId);
xmlFree(resolvedPublicId);
xmlFree(resolvedSystemId);
g_hash_table_insert (entities, g_strdup ((const char*) name), entity);
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment