[tracker/tracker-0.12] ttl2sgml: Fixed memory leak
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.12] ttl2sgml: Fixed memory leak
- Date: Thu, 27 Oct 2011 12:13:42 +0000 (UTC)
commit 23548e25dd829cd7e83d38a5033cae06a5972476
Author: Martyn Russell <martyn lanedo com>
Date: Tue Oct 25 12:11:59 2011 +0100
ttl2sgml: Fixed memory leak
Fixes NB#287972.
docs/tools/ttl_sgml.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/docs/tools/ttl_sgml.c b/docs/tools/ttl_sgml.c
index 14a6656..e712309 100644
--- a/docs/tools/ttl_sgml.c
+++ b/docs/tools/ttl_sgml.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]