[evolution/webkit] Fix crash when free'ing EMFormatPURI
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit] Fix crash when free'ing EMFormatPURI
- Date: Mon, 26 Mar 2012 20:48:11 +0000 (UTC)
commit 9e65468f954c72edad3e99289dcccd874de29293
Author: Dan VrÃtil <dvratil redhat com>
Date: Wed Mar 21 16:03:24 2012 +0100
Fix crash when free'ing EMFormatPURI
mail/em-format-html-display.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index 9a0cc36..ee861bd 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -551,7 +551,7 @@ efhd_parse_attachment (EMFormat *emf,
i = g_hash_table_lookup (emf->mail_part_table, part_id->str);
if (i->next && i->next->data) {
EMFormatPURI *p = i->next->data;
- puri->attachment_view_part_id = p->uri;
+ puri->attachment_view_part_id = g_strdup (p->uri);
can_show = TRUE;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]