diff options
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-mt.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index d944342f45..771310c08a 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2001-07-20 Dan Winship <danw@ximian.com> + + * mail-mt.c (mail_msgport_replied): Use mail_msg_destroy rather + than mail_msg_free, so the cancellation operation gets + unregistered and doesn't leak two file descriptors. + 2001-07-19 Jason Leach <jleach@ximian.com> * mail-summary.c (generate_html_summary): Update this diff --git a/mail/mail-mt.c b/mail/mail-mt.c index 0c1900b87c..18a5c34723 100644 --- a/mail/mail-mt.c +++ b/mail/mail-mt.c @@ -257,7 +257,7 @@ mail_msgport_replied(GIOChannel *source, GIOCondition cond, void *d) if (m->ops->reply_msg) m->ops->reply_msg(m); mail_msg_check_error(m); - mail_msg_free(m); + mail_msg_destroy(m); } return TRUE; |