aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2007-11-05 18:33:42 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-11-05 18:33:42 +0800
commitc8d11592e475658a7799ac8349bb799d96d2cc0f (patch)
tree75059e907c9531e3b368d6e861cee5e4097e8799 /mail
parenta1a1f31ef8aa921e84f82d0e88b00ead5e92c738 (diff)
downloadgsoc2013-evolution-c8d11592e475658a7799ac8349bb799d96d2cc0f.tar.gz
gsoc2013-evolution-c8d11592e475658a7799ac8349bb799d96d2cc0f.tar.zst
gsoc2013-evolution-c8d11592e475658a7799ac8349bb799d96d2cc0f.zip
** Fix for bug #334675
2007-11-05 Milan Crha <mcrha@redhat.com> ** Fix for bug #334675 * plugins/mail-to-task/mail-to-task.c: (do_mail_to_task), (text_contains_nonwhitespace), (get_selected_text), (convert_to_task), (org_gnome_mail_to_task), (org_gnome_mail_to_task_menu): When selected only one message, then try to use selected text in preview as description, instead of whole message body. * Requires newer GthHtml (API extended, since revision 8614). * mail/em-folder-view.c: (emfv_message_reply): Leak fix. svn path=/trunk/; revision=34497
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/em-folder-view.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index c43eb5fb4d..a02b0d6b72 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-05 Milan Crha <mcrha@redhat.com>
+
+ * em-folder-view.c: (emfv_message_reply): Leak fix.
+
2007-11-05 Sankar P <psankar@novell.com>
* em-folder-tree.c:
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index 0a8171e14b..f543f7d364 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -1633,7 +1633,7 @@ html_contains_nonwhitespace (const char *html, gint len)
static void
emfv_message_reply(EMFolderView *emfv, int mode)
{
- char *html;
+ char *html = NULL;
gint len;
if (emfv->list->cursor_uid == NULL)
@@ -1666,6 +1666,8 @@ emfv_message_reply(EMFolderView *emfv, int mode)
} else {
em_utils_reply_to_message (emfv->folder, emfv->list->cursor_uid, NULL, mode, (EMFormat *)emfv->preview);
}
+
+ g_free (html);
}
static void