Commit 86ad833e authored by Martyn Russell's avatar Martyn Russell

ttl2sgml: Fixed memory leak

Fixes NB#287972.
parent 59d8202e
......@@ -268,6 +268,7 @@ print_ontology_property (gpointer key, gpointer value, gpointer user_data)
g_free (id);
g_fprintf (f, "<title>%s</title>\n", name);
g_free (name);
if (def->description) {
g_fprintf (f, "<para>%s</para>\n", def->description);
......
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