aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-08-12 01:57:13 +0800
committerPeter Williams <peterw@src.gnome.org>2000-08-12 01:57:13 +0800
commit69e974fcc769de38d2ef2aa07f6a40810bd1d61b (patch)
tree68bf46564a6965f480e382c1319c42cce2febb12
parente899bab83610f62dcac9e9ec4d71e39e614aa514 (diff)
downloadgsoc2013-evolution-69e974fcc769de38d2ef2aa07f6a40810bd1d61b.tar
gsoc2013-evolution-69e974fcc769de38d2ef2aa07f6a40810bd1d61b.tar.gz
gsoc2013-evolution-69e974fcc769de38d2ef2aa07f6a40810bd1d61b.tar.bz2
gsoc2013-evolution-69e974fcc769de38d2ef2aa07f6a40810bd1d61b.tar.lz
gsoc2013-evolution-69e974fcc769de38d2ef2aa07f6a40810bd1d61b.tar.xz
gsoc2013-evolution-69e974fcc769de38d2ef2aa07f6a40810bd1d61b.tar.zst
gsoc2013-evolution-69e974fcc769de38d2ef2aa07f6a40810bd1d61b.zip
Fix two mistakes in the FORWARD_MESSAGE handler
svn path=/trunk/; revision=4748
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-threads.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index b6d217fa29..a1fd37971d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2000-08-11 Peter Williams <peterw@helixcode.com>
+ * mail-threads.c (read_msg): Fix the new FORWARD_EVENT handler
+ (didn't free msg, didn't write newline in the debug)
+
* mail-local.c (local_reconfigure_folder): Make the dialog
modal.
diff --git a/mail/mail-threads.c b/mail/mail-threads.c
index 7bd98a6912..a995a2ad70 100644
--- a/mail/mail-threads.c
+++ b/mail/mail-threads.c
@@ -915,10 +915,11 @@ read_msg (GIOChannel * source, GIOCondition condition, gpointer userdata)
*/
case FORWARD_EVENT:
- DEBUG (("*** Message -- FORWARD_EVENT %p", msg->event_hook));
+ DEBUG (("*** Message -- FORWARD_EVENT %p\n", msg->event_hook));
g_assert (msg->event_hook);
(msg->event_hook) (msg->event_obj, msg->event_event_data, msg->event_user_data);
+ g_free (msg);
break;
case FINISHED: