summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/yelp-toc-pager.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c7be02cb..d0abb2b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-20 Brent Smith <gnome@nextreality.net>
+
+ * src/yelp-toc-pager.c: (toc_add_doc_info):
+ - applied patch from Matthias Clasen to fix incorrect free, fixes #319096
+
2005-10-18 Frederic Crozat <fcrozat@mandriva.com>
* src/Makefile.am: don't ship generated files.
diff --git a/src/yelp-toc-pager.c b/src/yelp-toc-pager.c
index 711298ae..5a2283ca 100644
--- a/src/yelp-toc-pager.c
+++ b/src/yelp-toc-pager.c
@@ -971,11 +971,9 @@ toc_add_doc_info (YelpTocPager *pager, YelpDocInfo *doc_info)
text = (gchar *) yelp_doc_info_get_title (doc_info);
xmlNewTextChild (new, NULL, "title", text);
- g_free (text);
text = (gchar *) yelp_doc_info_get_description (doc_info);
xmlNewTextChild (new, NULL, "description", text);
- g_free (text);
}
static void