aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: