Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--ps/ps-document.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1ec00e8..37f0e4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
+
+ * ps/ps-document.c: (ps_document_get_info):
+
+ Fix a double free
+
2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
* backend/ev-page-cache.c: (ev_page_cache_init),
diff --git a/ps/ps-document.c b/ps/ps-document.c
index a155207..a38fc6b 100644
--- a/ps/ps-document.c
+++ b/ps/ps-document.c
@@ -1371,7 +1371,7 @@ ps_document_get_info (EvDocument *document)
info = g_new0 (EvDocumentInfo, 1);
info->fields_mask = EV_DOCUMENT_INFO_TITLE;
- info->title = ps->doc->title;
+ info->title = g_strdup (ps->doc->title);
return info;
}